update item context after moving all files to a new item

This commit is contained in:
rolux 2013-02-12 07:23:30 +05:30
parent 927a326143
commit 9f079c3412

View file

@ -476,6 +476,7 @@ pandora.ui.filesView = function(options, self) {
Ox.Request.clearCache(); // fixme: remove Ox.Request.clearCache(); // fixme: remove
if (self.$switch.value()) { if (self.$switch.value()) {
pandora.UI.set({item: result.data.itemId}); pandora.UI.set({item: result.data.itemId});
pandora.updateItemContext();
} else { } else {
self.$filesList.reloadList(); self.$filesList.reloadList();
self.$instancesList.reloadList(); self.$instancesList.reloadList();