moving files also needs reload

This commit is contained in:
j 2011-11-22 22:58:02 +01:00
parent fd7bd7a704
commit d4a5c45eb6

View file

@ -403,8 +403,8 @@ pandora.ui.filesView = function(options, self) {
});
pandora.api.moveFiles(data, function(result) {
if(pandora.user.ui.item == self.options.id && pandora.user.ui.itemView == 'files') {
Ox.Request.clearCache(); // fixme: remove
if (self.$checkbox.value()) {
Ox.Request.clearCache(); // fixme: remove
pandora.UI.set({item: result.data.itemId});
} else {
Ox.Log('', 'moved', self.selected, result.data.itemId);