From 0f5cfe194950fa27800330a56b850b24e516ccd3 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Fri, 29 Nov 2013 21:26:35 +0000 Subject: [PATCH] Default to user's preferred size, app can dock if desired. Since they already do... --- etemplate/js/et2_widget_split.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etemplate/js/et2_widget_split.js b/etemplate/js/et2_widget_split.js index a56d0a3a97..a8da3ea168 100644 --- a/etemplate/js/et2_widget_split.js +++ b/etemplate/js/et2_widget_split.js @@ -184,6 +184,8 @@ var et2_split = et2_DOMWidget.extend([et2_IResizeable], // Initialize splitter this.div.splitter(options); + this.div.trigger('resize',[options.sizeTop || options.sizeLeft || 0]); + // Start docked? if(options.dock) {