some bugfixes

This commit is contained in:
rolux 2011-09-17 11:50:01 +00:00
parent f7ea2f71ee
commit b1aa2fe73d
2 changed files with 3 additions and 2 deletions

View file

@ -52,7 +52,7 @@ Ox.load({
user: data.user.level == 'guest' ? Ox.extend({}, data.site.user) : data.user
});
Ox.extend(pandora.site, {
findKeys: data.site.itemKeys.map(function(key) {
findKeys: Ox.map(data.site.itemKeys, function(key) {
return key.find ? key : null;
}),
sectionFolders: {
@ -73,7 +73,7 @@ Ox.load({
{id: 'featured', title: 'Featured Texts', showBrowser: false}
]
},
sortKeys: data.site.itemKeys.map(function(key) {
sortKeys: Ox.map(data.site.itemKeys, function(key) {
return key.columnWidth ? key : null;
})
});

View file

@ -407,6 +407,7 @@ pandora.ui.item = function() {
pandora.UI.set('videoPoints|' + pandora.user.ui.item + '|position', data.position);
},
resize: function(data) {
Ox.print('RESIZE!!', data.size)
pandora.$ui.editor.options({
height: data.size
});