From 19eb6ec49df949eb836b0ffe36d8fb0779868802 Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 27 Apr 2011 19:26:01 +0000 Subject: [PATCH] update to recent oxjs api changes --- pandora/templates/index.html | 4 ++-- static/js/pandora.js | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/pandora/templates/index.html b/pandora/templates/index.html index da67aa56..b74cfb74 100644 --- a/pandora/templates/index.html +++ b/pandora/templates/index.html @@ -10,10 +10,10 @@ if(typeof(console)=='undefined') { console.log = function() {}; } - + - + diff --git a/static/js/pandora.js b/static/js/pandora.js index 28816d5a..9e8528d9 100755 --- a/static/js/pandora.js +++ b/static/js/pandora.js @@ -9,7 +9,9 @@ // fixme: rename config to site (site/user is better than config/user) Ox.load('UI', { + debug: true, hideScreen: false, + loadImages: true, showScreen: true, theme: 'modern' }, function() { @@ -20,6 +22,8 @@ Ox.load('UI', { Ox.print('Ox.App load', data); + Ox.UI.hideLoadingScreen(); + $.extend(app, { $ui: { body: $('body'), @@ -85,8 +89,6 @@ Ox.load('UI', { app.ui.sectionButtonsWidth = app.$ui.sectionButtons.width() + 8; - Ox.UI.hideLoadingScreen(); - window.pandora.app = app; }