projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
72f392c
)
XObjectBase/GdlDock.js
author
Alan Knowles
<alan@akbkhome.com>
Wed, 1 Dec 2010 02:24:31 +0000
(10:24 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 1 Dec 2010 02:24:31 +0000
(10:24 +0800)
XObjectBase/GdlDock.js
patch
|
blob
|
history
diff --git
a/XObjectBase/GdlDock.js
b/XObjectBase/GdlDock.js
index
59b3c2c
..
50228ee
100644
(file)
--- a/
XObjectBase/GdlDock.js
+++ b/
XObjectBase/GdlDock.js
@@
-16,11
+16,9
@@
GdlDock = XObject.define(
{
// dock for the current window exists. - use it..
- if (this.get('^').dock) {
-
- }
- this.el = new Gdl.Dock ();
- this.layout = new Gdl.DockLayout.c_new (this.el);
+ this.el = this.get('^').dock || new Gdl.Dock ();
+ this.get('^').dock = this.el ;
+ this.get('^').layout = new Gdl.DockLayout.c_new (this.el);
XObject.prototype.init.call(this);
}
}