Changeset 3470908
- Timestamp:
- 02/27/2026 08:15:36 AM (13 days ago)
- File:
-
- 1 edited
-
locatoraid/trunk/modules/front/assets/js/front.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
locatoraid/trunk/modules/front/assets/js/front.js
r3470902 r3470908 709 709 710 710 // var $this_loc_view = jQuery( this_loc_view ); 711 712 var thisLocHtmlId = this.html_id + '-' + this_loc['id']; 711 713 var $thisLocView = jQuery('<div>').html( this_loc_view ); 712 714 $thisLocView 713 715 .data( 'location-id', this_loc['id'] ) 714 716 .data( 'location', this_loc ) 717 .attr('id', thisLocHtmlId) 715 718 ; 716 719 … … 1142 1145 1143 1146 var templateVars = thisLoc; 1144 templateVars.linktolist = '<a onclick="document.getElementById(\'' + listHtmlId + '\').scrollIntoView(); return false;">' + this.linkToListLabel + '</a>'; 1147 var thisLocHtmlId = listHtmlId + '-' + thisThisId; 1148 templateVars.linktolist = '<a onclick="document.getElementById(\'' + thisLocHtmlId + '\').scrollIntoView(); return false;">' + this.linkToListLabel + '</a>'; 1145 1149 1146 1150 var thisLocView = template.render( templateVars ); … … 1172 1176 var thisLoc = self.entries[ thisId ]; 1173 1177 var templateVars = thisLoc; 1174 templateVars.linktolist = '<a onclick="document.getElementById(\'' + listHtmlId + '\').scrollIntoView(); return false;">' + this.linkToListLabel + '</a>'; 1178 1179 var thisLocHtmlId = listHtmlId + '-' + thisThisId; 1180 templateVars.linktolist = '<a onclick="document.getElementById(\'' + thisLocHtmlId + '\').scrollIntoView(); return false;">' + this.linkToListLabel + '</a>'; 1175 1181 1176 1182 var thisLocView = template.render( templateVars );
Note: See TracChangeset
for help on using the changeset viewer.