projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7c0e7f2
)
Builder3/Window.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 25 Apr 2011 03:50:45 +0000
(11:50 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 25 Apr 2011 03:50:45 +0000
(11:50 +0800)
Builder3/Window.js
patch
|
blob
|
history
diff --git
a/Builder3/Window.js
b/Builder3/Window.js
index
4c5b6fb
..
e6981d4
100644
(file)
--- a/
Builder3/Window.js
+++ b/
Builder3/Window.js
@@
-2476,6
+2476,9
@@
Window=new XObject({
},
edited : function (self, object, p0) {
},
edited : function (self, object, p0) {
+
+ print("CHANGED VALUE:" + JSON.stringify(p0, null,4));
+ return;
var model = this.get('/LeftPanel.model');
var path = model.activePath;
var iret = {};
var model = this.get('/LeftPanel.model');
var path = model.activePath;
var iret = {};
@@
-2522,11
+2525,11
@@
Window=new XObject({
xtype: Gtk.CellRendererCombo,
listeners : {
edited : function (self, object, p0) {
xtype: Gtk.CellRendererCombo,
listeners : {
edited : function (self, object, p0) {
+
this.get('/LeftPanel').editing = false;
var ap = this.get('/LeftPanel.model').activePath
print("EDITED? " + ap + " - p:" + p0 + " t:" + p0);
this.get('/LeftPanel').editing = false;
var ap = this.get('/LeftPanel.model').activePath
print("EDITED? " + ap + " - p:" + p0 + " t:" + p0);
- this.get('/LeftTree.model').setFromNode(false,p0);
- this.get('/LeftTree.model').changed(true);
+ this.get('/LeftPanel.model').changed(p0, true);
this.get('/LeftPanel.model').activePath = false;
this.el.editable = false;
},
this.get('/LeftPanel.model').activePath = false;
this.el.editable = false;
},