From: Micheal Date: Fri, 16 Jan 2015 09:28:35 +0000 (+0800) Subject: Pman.Dialog.AdminEnumType.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=commitdiff_plain;h=306edfbfd8e9ebe706c32c533258248f45bd5034 Pman.Dialog.AdminEnumType.bjs Pman.Dialog.AdminEnumType.js --- diff --git a/Pman.Dialog.AdminEnumType.bjs b/Pman.Dialog.AdminEnumType.bjs index e7c1f2f..441bf16 100644 --- a/Pman.Dialog.AdminEnumType.bjs +++ b/Pman.Dialog.AdminEnumType.bjs @@ -8,7 +8,13 @@ "items" : [ { "xtype" : "LayoutDialog", - "$ xns" : "Roo" + "$ xns" : "Roo", + "items" : [ + { + "xtype" : "LayoutRegion", + "$ xns" : "Roo" + } + ] } ] } \ No newline at end of file diff --git a/Pman.Dialog.AdminEnumType.js b/Pman.Dialog.AdminEnumType.js index 23ccd3f..b5d4a6b 100644 --- a/Pman.Dialog.AdminEnumType.js +++ b/Pman.Dialog.AdminEnumType.js @@ -32,7 +32,15 @@ Pman.Dialog.AdminEnumType = { this.dialog = Roo.factory({ '|xns' : 'Roo', xtype : 'LayoutDialog', - xns : Roo + xns : Roo, + items : [ + { + '|xns' : 'Roo', + xtype : 'LayoutRegion', + xns : Roo + } + ] + }); } };