forked from 0x2620/pandora
return of the document dialog at /document/<id>
This commit is contained in:
parent
b829faf5d6
commit
df60dca85f
9 changed files with 31 additions and 20 deletions
|
|
@ -71,10 +71,10 @@ pandora.ui.appPanel = function() {
|
|||
!pandora.$ui.appPanel ? 'showScreen' : 'fadeInScreen'
|
||||
]();
|
||||
pandora.$ui.home && pandora.$ui.tv.mute();
|
||||
} else if (page == 'documents') {
|
||||
if (pandora.user.ui.part.documents) {
|
||||
} else if (page == 'document') {
|
||||
if (pandora.user.ui.part.document) {
|
||||
pandora.openDocumentDialog({
|
||||
ids: [pandora.user.ui.part.documents.split('/')[0]]
|
||||
ids: [pandora.user.ui.part.document.split('/')[0]]
|
||||
});
|
||||
} else {
|
||||
pandora.UI.set({page: ''});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue