Builder/AddPropertyPopup.js
authorAlan Knowles <alan@akkbhome.com>
Sat, 15 May 2010 13:09:55 +0000 (21:09 +0800)
committerAlan Knowles <alan@akkbhome.com>
Sat, 15 May 2010 13:09:55 +0000 (21:09 +0800)
Builder/AddPropertyPopup.js

index 37c2a8a..9f4aa7c 100644 (file)
@@ -40,6 +40,14 @@ AddPropertyPopup = new XObject({
             listeners : {
                 activate : function () {
                     // popup with name.
+                    var LeftPanel = imports.Builder.LeftPanel.LeftPanel;
+                     LeftPanel.get('model').add( {
+                            key : 'pack', 
+                            type : 'string',
+                            val : 'add',
+                            //skel  : skel,
+                            etype : 'props'
+                           }) //, skel);
                 }
             }