Builder/LeftPanel.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 17 May 2010 05:52:34 +0000 (13:52 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 17 May 2010 05:52:34 +0000 (13:52 +0800)
Builder/LeftPanel.js

index 05a26bc..8ecc2b7 100755 (executable)
@@ -281,10 +281,11 @@ LeftPanel = new XObject({
                                 path = tp.to_string();
                             }
                             
-                            var k = this.getValue(path, 0);
+                           
                             // which colum is to be edited..
                             var colObj = false;
                             if (typeof(col) == 'undefined') {
+                                var k = this.getValue(path, 0);
                                 colObj = (!k.length || k == '|') ? 
                                     LeftPanel.propertyColumn : LeftPanel.editableColumn;
                             } else {