[Commits] r1593 - sandbox/ahocevar/playground/ux/Printing/ux/data
commits at geoext.org
commits at geoext.org
Thu Dec 17 16:59:57 CET 2009
Author: ahocevar
Date: 2009-12-17 16:59:56 +0100 (Thu, 17 Dec 2009)
New Revision: 1593
Modified:
sandbox/ahocevar/playground/ux/Printing/ux/data/PrintProvider.js
Log:
added options default
Modified: sandbox/ahocevar/playground/ux/Printing/ux/data/PrintProvider.js
===================================================================
--- sandbox/ahocevar/playground/ux/Printing/ux/data/PrintProvider.js 2009-12-17 15:57:42 UTC (rev 1592)
+++ sandbox/ahocevar/playground/ux/Printing/ux/data/PrintProvider.js 2009-12-17 15:59:56 UTC (rev 1593)
@@ -233,6 +233,7 @@
* with the resulting PDF.
*/
print: function(map, pages, options) {
+ options = options || {};
if(map instanceof GeoExt.MapPanel) {
map = map.map;
}
More information about the Commits
mailing list