dont overwrite guest session, set ui._ once
This commit is contained in:
parent
60c54bb7d5
commit
d54463474e
2 changed files with 6 additions and 19 deletions
|
|
@ -14,7 +14,7 @@ appPanel
|
|||
contentPanel
|
||||
browser <-- should be filters or browser
|
||||
list or item
|
||||
statusbar
|
||||
statusbar <-- make part of content panel
|
||||
*/
|
||||
|
||||
(function() {
|
||||
|
|
@ -199,9 +199,13 @@ appPanel
|
|||
})
|
||||
},
|
||||
site: data.site,
|
||||
user: data.user.level == 'guest' ? Ox.clone(data.site.user) : data.user
|
||||
user: data.user
|
||||
});
|
||||
|
||||
pandora.user.ui = Ox.extend(
|
||||
Ox.clone(pandora.site.user.ui), pandora.user.ui
|
||||
);
|
||||
|
||||
Ox.extend(pandora.site, {
|
||||
clipKeys: Ox.map(data.site.clipKeys, function(key) {
|
||||
return Ox.extend(key, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue