X-Git-Url: http://git.onelab.eu/?p=myslice.git;a=blobdiff_plain;f=plugins%2Fgooglemaps%2Fstatic%2Fjs%2Fgooglemaps.js;h=2a4df3d689d3b1169107df20a33ccc2eb2919dfa;hp=2add9611c36755d271e9f8ee6922885229939c65;hb=22dba9d34674e0cc1b285e678bbb7bc6482c58ca;hpb=dc6253db70ae01826edee0bb2af7750874f996bf diff --git a/plugins/googlemaps/static/js/googlemaps.js b/plugins/googlemaps/static/js/googlemaps.js index 2add9611..2a4df3d6 100644 --- a/plugins/googlemaps/static/js/googlemaps.js +++ b/plugins/googlemaps/static/js/googlemaps.js @@ -121,7 +121,7 @@ googlemaps_debug_detailed=false; // this.infowindow.close(); // this.infowindow.open(this.map, dict_info.marker); // this.infowindow.setContent(dict_info.marker.content); - // this.els('map-button').unbind('click').click(this, this._button_click); + // this.elts('map-button').unbind('click').click(this, this._button_click); // END turning off temporarily //var button = this.checkbox(record, checked); //this.el('checkbox', this.id_from_record(method, record)).html(button); @@ -214,7 +214,7 @@ googlemaps_debug_detailed=false; self.infowindow.open(map, marker); // onload of the infowindow on the map, bind a click on a button google.maps.event.addListener(self.infowindow, 'domready', function() { - self.els('map-button').unbind('click').click(self, self._button_click); + self.elts('map-button').unbind('click').click(self, self._button_click); // jQuery(".map-button").click({instance: instance_, infoWindow: object.infowindow}, button_click); }); });