XObjectBase/GdlDockItem.js
authorAlan Knowles <alan@akkbhome.com>
Tue, 30 Nov 2010 15:05:19 +0000 (23:05 +0800)
committerAlan Knowles <alan@akkbhome.com>
Tue, 30 Nov 2010 15:05:19 +0000 (23:05 +0800)
XObjectBase/GdlDockItem.js

index 80d3fcd..081d5a1 100644 (file)
@@ -22,7 +22,7 @@ GdlDockItem = XObject.define(
             this.el = new Gdl.GdlDockItem.c_new (
                 this.name || 'Dock'+GdlDockItem.id, 
                 this.long_name || 'Dock'+GdlDockItem.id, 
-                this.behaviour //Gdl.DockItemBehavior.LOCKED
+                this.behaviour || 0 //Gdl.DockItemBehavior.LOCKED
             );
             
             this.layout = new Gdl.DockLayout.c_new (dock);