forked from 0x2620/pandora
moving files also needs reload
This commit is contained in:
parent
fd7bd7a704
commit
d4a5c45eb6
1 changed files with 1 additions and 1 deletions
|
@ -403,8 +403,8 @@ pandora.ui.filesView = function(options, self) {
|
||||||
});
|
});
|
||||||
pandora.api.moveFiles(data, function(result) {
|
pandora.api.moveFiles(data, function(result) {
|
||||||
if(pandora.user.ui.item == self.options.id && pandora.user.ui.itemView == 'files') {
|
if(pandora.user.ui.item == self.options.id && pandora.user.ui.itemView == 'files') {
|
||||||
if (self.$checkbox.value()) {
|
|
||||||
Ox.Request.clearCache(); // fixme: remove
|
Ox.Request.clearCache(); // fixme: remove
|
||||||
|
if (self.$checkbox.value()) {
|
||||||
pandora.UI.set({item: result.data.itemId});
|
pandora.UI.set({item: result.data.itemId});
|
||||||
} else {
|
} else {
|
||||||
Ox.Log('', 'moved', self.selected, result.data.itemId);
|
Ox.Log('', 'moved', self.selected, result.data.itemId);
|
||||||
|
|
Loading…
Reference in a new issue