From: Alan Knowles Date: Thu, 2 Dec 2010 10:51:29 +0000 (+0800) Subject: DependTree/Window.bjs X-Git-Url: http://git.roojs.org/?p=app.Builder.js;a=commitdiff_plain;h=8b897017a902a37de82f31ca6f6984605575ab10 DependTree/Window.bjs --- diff --git a/DependTree/Window.bjs b/DependTree/Window.bjs index d174c86e3..f3b52c43f 100644 --- a/DependTree/Window.bjs +++ b/DependTree/Window.bjs @@ -72,7 +72,7 @@ "items": [ { "listeners": { - "toggled": "function (self, path) {\n print(\"TOGGLE\");\n // this.list\n return;\n var list = this.get('class-list-store');\n var iter = list.el.getIter(path);\n var old = list.getValue(iter, 1);\n list.setValue(iter, 1, !old)\n \n \n \n \n}" + "toggled": "function (self, path) {\n print(\"TOGGLE\");\n // this.list\n return;\n var list = this.get('class-list-store');\n \n var old = list.getValue(path, 1);\n list.setValue(path, 1, !old)\n \n \n \n \n}" }, "activatable": true, "xtype": "CellRendererToggle",