From 297be253c9d37fad287682e50de2e9e644a0d0b3 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 29 May 2012 23:33:18 +0000 Subject: [PATCH] fix files view --- static/js/pandora/filesView.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/static/js/pandora/filesView.js b/static/js/pandora/filesView.js index 2015c194b..e8f1b3faf 100644 --- a/static/js/pandora/filesView.js +++ b/static/js/pandora/filesView.js @@ -391,7 +391,7 @@ pandora.ui.filesView = function(options, self) { .append(self.$clearButton) .append(self.$moveButton); - that.$element = Ox.SplitPanel({ + that.setElement(Ox.SplitPanel({ elements: [ { element: Ox.SplitPanel({ @@ -418,7 +418,8 @@ pandora.ui.filesView = function(options, self) { } ], orientation: 'horizontal' - }); + }) + ); function deleteItem(data) { pandora.api.get({