forked from extern/egroupware
Fix splitter widget dock to the fullSize if there is no size preference yet
This commit is contained in:
parent
2654dccb45
commit
5fe98953a1
@ -196,6 +196,12 @@ var et2_split = et2_DOMWidget.extend([et2_IResizeable,et2_IPrint],
|
||||
this.prefSize = pref[this.orientation == "v" ?'sizeLeft' : 'sizeTop'];
|
||||
}
|
||||
}
|
||||
// If there is no preference yet, set it to half size
|
||||
// Otherwise the right pane gets the fullsize
|
||||
else
|
||||
{
|
||||
this.prefSize = this.orientation == "v" ? options.sizeLeft: options.sizeTop;
|
||||
}
|
||||
}
|
||||
|
||||
// Avoid double init
|
||||
|
Loading…
Reference in New Issue
Block a user