only check for status changes if item has files
This commit is contained in:
parent
e3a686601b
commit
1be9bb04a8
3 changed files with 6 additions and 4 deletions
|
|
@ -53,7 +53,7 @@ pandora.ui.item = function() {
|
|||
+'{1} view.', [result.data.title, Ox._(pandora.user.ui.itemView)])
|
||||
)
|
||||
);
|
||||
pandora.updateStatus(pandora.user.ui.item);
|
||||
result.data.parts > 0 && pandora.updateStatus(pandora.user.ui.item);
|
||||
} else if (pandora.user.ui.itemView == 'info') {
|
||||
|
||||
pandora.$ui.contentPanel.replaceElement(1,
|
||||
|
|
@ -64,7 +64,7 @@ pandora.ui.item = function() {
|
|||
}
|
||||
})
|
||||
);
|
||||
!result.data.rendered && pandora.updateStatus(pandora.user.ui.item);
|
||||
!result.data.rendered && result.data.parts > 0 && pandora.updateStatus(pandora.user.ui.item);
|
||||
|
||||
} else if (pandora.user.ui.itemView == 'documents') {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue