update to recent oxjs api changes

This commit is contained in:
rolux 2011-04-27 19:26:01 +00:00
parent f666bc2312
commit 19eb6ec49d
2 changed files with 6 additions and 4 deletions

View file

@ -10,10 +10,10 @@ if(typeof(console)=='undefined') {
console.log = function() {};
}
</script>
<script type="text/javascript" src="/static/oxjs/build/js/jquery/jquery.js"></script>
<script type="text/javascript" src="/static/oxjs/build/jquery/jquery.js"></script>
<script type="text/javascript" src="/static/js/jquery/jquery.tmpl.min.js"></script>
<script type="text/javascript" src="/static/js/jquery/jquery.videosupport.js"></script>
<script type="text/javascript" src="/static/oxjs/build/js/Ox.js"></script>
<script type="text/javascript" src="/static/oxjs/build/Ox.js"></script>
<script type="text/javascript" src="/static/js/pandora.js"></script>
<!--
<script type="text/javascript" src="/static/js/pandora.local.js"></script> -->

View file

@ -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;
}