forked from 0x2620/pandora
clear cache after editing document rightslevel, closes: #3222
This commit is contained in:
parent
a9e2c85ed7
commit
68302c2ca5
2 changed files with 2 additions and 0 deletions
|
|
@ -624,6 +624,7 @@ pandora.ui.documentInfoView = function(data, isMixed) {
|
||||||
rightslevel: rightsLevel
|
rightslevel: rightsLevel
|
||||||
};
|
};
|
||||||
pandora.api.editDocument(edit, function(result) {
|
pandora.api.editDocument(edit, function(result) {
|
||||||
|
Ox.Request.clearCache();
|
||||||
that.triggerEvent('change', Ox.extend({}, 'rightslevel', rightsLevel));
|
that.triggerEvent('change', Ox.extend({}, 'rightslevel', rightsLevel));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -825,6 +825,7 @@ pandora.ui.documentInfoView = function(data, isMixed) {
|
||||||
rightslevel: rightsLevel
|
rightslevel: rightsLevel
|
||||||
};
|
};
|
||||||
pandora.api.editDocument(edit, function(result) {
|
pandora.api.editDocument(edit, function(result) {
|
||||||
|
Ox.Request.clearCache();
|
||||||
that.triggerEvent('change', Ox.extend({}, 'rightslevel', rightsLevel));
|
that.triggerEvent('change', Ox.extend({}, 'rightslevel', rightsLevel));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue