Pman.Dialog.Image.bjs
authorAlan Knowles <alan@roojs.com>
Thu, 7 May 2015 08:28:33 +0000 (16:28 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 7 May 2015 08:28:33 +0000 (16:28 +0800)
Pman.Dialog.Image.js

Pman.Dialog.Image.bjs
Pman.Dialog.Image.js

index 506fda3..b8f6e4f 100644 (file)
@@ -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",
index 9ce0e45..4e35cf6 100644 (file)
@@ -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()