Changeset 8039 for extensions/rv_gmaps/trunk/template/data_loader.js
- Timestamp:
- Dec 8, 2010, 8:43:12 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/rv_gmaps/trunk/template/data_loader.js
r6651 r8039 2 2 { 3 3 this._map = map; 4 this.options = Object.extend(4 this.options = jQuery.fn.extend( 5 5 { 6 6 reload_data_timeout: 1800, … … 62 62 { 63 63 this.clearTimerReloadData(); 64 this._timerReloadData = setTimeout( this._onTimeoutLoadData.bind(this), this.options.reload_data_timeout );64 this._timerReloadData = setTimeout( pwgBind(this, this._onTimeoutLoadData), this.options.reload_data_timeout ); 65 65 }, 66 66 … … 146 146 try { 147 147 google.maps.Event.trigger( this, "dataloading" ); 148 GDownloadUrl(url, this._onDataReceived.bind(this) );148 GDownloadUrl(url, pwgBind(this, this._onDataReceived) ); 149 149 } 150 150 catch (e) {
Note: See TracChangeset
for help on using the changeset viewer.