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:
b02bb3a
)
XObjectBase/GdlDockItem.js
author
Alan Knowles
<alan@akkbhome.com>
Tue, 30 Nov 2010 15:04:27 +0000
(23:04 +0800)
committer
Alan Knowles
<alan@akkbhome.com>
Tue, 30 Nov 2010 15:04:27 +0000
(23:04 +0800)
XObjectBase/GdlDockItem.js
patch
|
blob
|
history
diff --git
a/XObjectBase/GdlDockItem.js
b/XObjectBase/GdlDockItem.js
index
fde2b25
..
924bad1
100644
(file)
--- a/
XObjectBase/GdlDockItem.js
+++ b/
XObjectBase/GdlDockItem.js
@@
-17,10
+17,11
@@
GdlDockItem = XObject.define(
},
init : function()
{
+ GdlDockItem.id = GdlDockItem.id ? GdlDockItem.id + 1 : 1;
this.el = new Gdl.GdlDockItem.c_new (
- this.name,
- this.
default_titl
e,
- Gdl.DockItemBehavior.LOCKED
+ this.name
|| 'Dock'+
,
+ this.
long_nam
e,
+
this.behaviour //
Gdl.DockItemBehavior.LOCKED
);
this.layout = new Gdl.DockLayout.c_new (dock);
XObject.prototype.init.call(this);