From: Alan Knowles Date: Thu, 2 Dec 2010 10:56:51 +0000 (+0800) Subject: DependTree/Window.js X-Git-Url: http://git.roojs.org/?p=app.Builder.js;a=commitdiff_plain;h=c417ae91e33e2bb7f38abcfe4718c6636ac13288 DependTree/Window.js --- diff --git a/DependTree/Window.js b/DependTree/Window.js index 4db53ad0b..e636bb475 100644 --- a/DependTree/Window.js +++ b/DependTree/Window.js @@ -101,6 +101,17 @@ Window=new XObject({ listeners : { toggled : function (self, path) { print("TOGGLE"); + // this.list + + var list = this.get('class-list-store'); + + var old = list.getValue(path, 1); + print(JSON.stringify(old)); + // list.setValue(path, 1, !old) + + + + } }, activatable : true