Builder/LeftPanel.js
authorAlan Knowles <alan@akbkhome.com>
Fri, 14 May 2010 09:33:01 +0000 (17:33 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 14 May 2010 09:33:01 +0000 (17:33 +0800)
Builder/LeftPanel.js

index df81f54..96bbc1b 100755 (executable)
@@ -369,7 +369,7 @@ LeftPanel = new XObject({
                             if (col != 1) {
                                 return val;
                             }
-                            var type = this.getType();
+                            var type = this.getType(this.el.get_path(iter).to_string());
                             print("TYPE: " +type + " -  val:" + val);
                             switch(type.toLowerCase()) {
                                 case 'number':