Pman.Dialog.AdminEnumImages.bjs
authorChris <chris@roojs.com>
Thu, 4 Jul 2013 10:04:54 +0000 (18:04 +0800)
committerChris <chris@roojs.com>
Thu, 4 Jul 2013 10:04:54 +0000 (18:04 +0800)
Pman.Dialog.AdminEnumImages.js

Pman.Dialog.AdminEnumImages.bjs
Pman.Dialog.AdminEnumImages.js

index 39cc9dc..7439dd1 100644 (file)
@@ -4,7 +4,12 @@
     "parent": "",
     "title": "",
     "path": "/home/chris/gitlive/Pman.Admin/Pman.Dialog.AdminEnumImages.bjs",
-    "items": false,
+    "items": [
+        {
+            "|xns": "Roo",
+            "xtype": "LayoutDialog"
+        }
+    ],
     "permname": "",
     "modOrder": "001"
 }
\ No newline at end of file
index c227083..dc88c3e 100644 (file)
@@ -1 +1,35 @@
-0
\ No newline at end of file
+//<script type="text/javascript">
+
+// Auto generated file - created by app.Builder.js- do not edit directly (at present!)
+
+Pman.Dialog.AdminEnumImages = {
+
+    dialog : false,
+    callback:  false,
+
+    show : function(data, cb)
+    {
+        if (!this.dialog) {
+            this.create();
+        }
+
+        this.callback = cb;
+        this.data = data;
+        this.dialog.show(this.data._el);
+        if (this.form) {
+           this.form.reset();
+           this.form.setValues(data);
+           this.form.fireEvent('actioncomplete', this.form,  { type: 'setdata', data: data });
+        }
+
+    },
+
+    create : function()
+    {
+        var _this = this;
+        this.dialog = Roo.factory({
+            xtype: 'LayoutDialog',
+            xns: Roo
+        });
+    }
+};