From fe5dc99d26404931379e5843a22a1b20dffb3c11 Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Mon, 22 Sep 2014 13:17:35 +0200 Subject: [PATCH] FormPanel: use setElement --- source/Ox.UI/js/Form/FormPanel.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Ox.UI/js/Form/FormPanel.js b/source/Ox.UI/js/Form/FormPanel.js index 14c98315..b6b3409c 100644 --- a/source/Ox.UI/js/Form/FormPanel.js +++ b/source/Ox.UI/js/Form/FormPanel.js @@ -132,7 +132,7 @@ Ox.FormPanel = function(options, self) { self.$sections[0].show(); - that.$element = Ox.SplitPanel({ + that.setElement(Ox.SplitPanel({ elements: [ { element: self.$list, @@ -143,7 +143,7 @@ Ox.FormPanel = function(options, self) { } ], orientation: 'horizontal' - }); + })); /*@ renderPrintVersion renderPrintVersion