move the initial settings for the main split where it belongs
This commit is contained in:
parent
f95f66633d
commit
e003bac745
2 changed files with 2 additions and 1 deletions
|
|
@ -63,6 +63,8 @@ var SplitHandler = (function () {
|
||||||
minSize: [50,50],
|
minSize: [50,50],
|
||||||
});
|
});
|
||||||
|
|
||||||
|
split_panes['main-sub'] = {'types': [], 'update_method': 'append'};
|
||||||
|
|
||||||
var input_render = Mustache.render(input_template);
|
var input_render = Mustache.render(input_template);
|
||||||
$('[data-role-input]').html(input_render);
|
$('[data-role-input]').html(input_render);
|
||||||
console.log("SplitHandler initialized");
|
console.log("SplitHandler initialized");
|
||||||
|
|
|
||||||
|
|
@ -525,7 +525,6 @@ $(document).ready(function() {
|
||||||
|
|
||||||
if( SplitHandler ) {
|
if( SplitHandler ) {
|
||||||
SplitHandler.init();
|
SplitHandler.init();
|
||||||
SplitHandler.split_panes['main-sub'] = {'types': ['help'], 'update_method': 'replace'};
|
|
||||||
$("#splitbutton").bind("click", onSplitDialog);
|
$("#splitbutton").bind("click", onSplitDialog);
|
||||||
$("#panebutton").bind("click", onPaneControlDialog);
|
$("#panebutton").bind("click", onPaneControlDialog);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue