some bugfixes
This commit is contained in:
parent
f7ea2f71ee
commit
b1aa2fe73d
2 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
})
|
||||
});
|
||||
|
|
|
@ -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
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue