[Commits] r2390 - sandbox/camptocamp/geobretagne/lib/GeoExt/data
commits at geoext.org
commits at geoext.org
Wed Sep 22 11:00:22 CEST 2010
Author: elemoine
Date: 2010-09-22 11:00:21 +0200 (Wed, 22 Sep 2010)
New Revision: 2390
Modified:
sandbox/camptocamp/geobretagne/lib/GeoExt/data/PrintProvider.js
Log:
apply patch_290_A1.diff from #290, this patch was applied to trunk
Modified: sandbox/camptocamp/geobretagne/lib/GeoExt/data/PrintProvider.js
===================================================================
--- sandbox/camptocamp/geobretagne/lib/GeoExt/data/PrintProvider.js 2010-09-22 08:13:27 UTC (rev 2389)
+++ sandbox/camptocamp/geobretagne/lib/GeoExt/data/PrintProvider.js 2010-09-22 09:00:21 UTC (rev 2390)
@@ -112,6 +112,11 @@
*/
customParams: null,
+ /** api: config[baseParams]
+ * ``Object`` Key-value pairs of base params to be add to every
+ * request to the service. Optional.
+ */
+
/** api: property[scales]
* ``Ext.data.JsonStore`` read-only. A store representing the scales
* available.
@@ -434,7 +439,7 @@
// content tab with the pdf
window.open(url);
} else {
- // This avoids popup blockers for all other browers
+ // This avoids popup blockers for all other browsers
window.location.href = url;
}
this.fireEvent("print", this, url);
@@ -442,6 +447,7 @@
failure: function(response) {
this.fireEvent("printexception", this, response);
},
+ params: this.initialConfig.baseParams,
scope: this
});
}
@@ -459,6 +465,7 @@
this.capabilities = Ext.decode(response.responseText);
this.loadStores();
},
+ params: this.initialConfig.baseParams,
scope: this
});
},
More information about the Commits
mailing list