From: Alan Knowles Date: Thu, 2 Dec 2010 10:51:15 +0000 (+0800) Subject: DependTree/Window.bjs X-Git-Url: http://git.roojs.org/?p=app.Builder.js;a=commitdiff_plain;h=39742f8703fa08bf0a9a7dccda48b11b31fc324c DependTree/Window.bjs --- diff --git a/DependTree/Window.bjs b/DependTree/Window.bjs index 7f3cb3981..d174c86e3 100644 --- a/DependTree/Window.bjs +++ b/DependTree/Window.bjs @@ -72,7 +72,7 @@ "items": [ { "listeners": { - "toggled": "function (self, path) {\n print(\"TOGGLE\");\n this.get('class-list-store').getRow(path);\n}" + "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}" }, "activatable": true, "xtype": "CellRendererToggle",