[Commits] r2369 - core/trunk/geoext/lib/GeoExt/data
commits at geoext.org
commits at geoext.org
Mon Sep 20 08:55:37 CEST 2010
Author: ahocevar
Date: 2010-09-20 08:55:37 +0200 (Mon, 20 Sep 2010)
New Revision: 2369
Modified:
core/trunk/geoext/lib/GeoExt/data/PrintProvider.js
Log:
use Ext.urlAppend instead of blindly appending "?spec=...". p=adube (closes #340)
Modified: core/trunk/geoext/lib/GeoExt/data/PrintProvider.js
===================================================================
--- core/trunk/geoext/lib/GeoExt/data/PrintProvider.js 2010-09-17 15:29:15 UTC (rev 2368)
+++ core/trunk/geoext/lib/GeoExt/data/PrintProvider.js 2010-09-20 06:55:37 UTC (rev 2369)
@@ -419,8 +419,8 @@
}
if(this.method === "GET") {
- var url = this.capabilities.printURL + "?spec=" +
- encodeURIComponent(Ext.encode(jsonData));
+ var url = Ext.urlAppend(this.capabilities.printURL,
+ "spec=" + encodeURIComponent(Ext.encode(jsonData)));
window.open(url);
this.fireEvent("print", this, url);
} else {
More information about the Commits
mailing list