// query status
this.received_all = false;
this.received_set = false;
- this.in_set_buffer = Array();
+ this.in_set_buffer = [];
// key -> { marker, checked }
this.map_markers = {}
// 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);
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);
});
});
$.each(this.in_set_buffer, function(i, record) {
self.set_checkbox(record, true);
});
+ // reset
+ self.in_set_buffer = [];
this.unspin();
}