From dcb9699e0646ffcf90c6ccc5590a335fd494bbd1 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 7 May 2015 16:28:33 +0800 Subject: [PATCH] Pman.Dialog.Image.bjs Pman.Dialog.Image.js --- Pman.Dialog.Image.bjs | 2 +- Pman.Dialog.Image.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Pman.Dialog.Image.bjs b/Pman.Dialog.Image.bjs index 506fda36..b8f6e4fb 100644 --- a/Pman.Dialog.Image.bjs +++ b/Pman.Dialog.Image.bjs @@ -17,7 +17,7 @@ "show" : "function (_self)\n{\n\n // this does not really work - escape on the borders works..\n // resize to fit.. if we have styled stuff...\n \n \n \n \n var d = this;\n \n var pad = d.el.getSize().height - (d.header.getSize().height +\n d.footer.getSize().height + \n d.layout.getRegion('center').getPanel(0).el.getSize().height\n );\n \n var height = (\n pad + \n d.header.getSize().height +\n d.footer.getSize().height + \n d.layout.getRegion('center').getPanel(0).el.child('div').getSize().height\n );\n this.resizeTo(d.el.getSize().width, height);\n \n if (this.keylistener) {\n return;\n }\n this.keylistener = this.addKeyListener(27, this.hide, this);\n \n}" }, "modal" : true, - "$ shadow" : true, + "shadow" : true, "collapsible" : false, "title" : "Upload an Image or File", "xtype" : "LayoutDialog", diff --git a/Pman.Dialog.Image.js b/Pman.Dialog.Image.js index 9ce0e45a..4e35cf6e 100644 --- a/Pman.Dialog.Image.js +++ b/Pman.Dialog.Image.js @@ -49,7 +49,7 @@ Pman.Dialog.Image = { height : 140, modal : true, resizable : false, - shadow : TRUE, + shadow : true, title : _this._strings['2859a4ae58ae4e25abdfc530f814e42f'], uploadComplete : false, uploadProgress : function() -- 2.39.2