Disable moveToTrash button for pads in shared folders

This commit is contained in:
yflory
2018-07-16 18:05:23 +02:00
parent 9c58dc216f
commit fc91cf606b
9 changed files with 58 additions and 17 deletions

View File

@@ -311,6 +311,13 @@ define([
});
};
common.isOnlyInSharedFolder = function (data, cb) {
postMessage("IS_ONLY_IN_SHARED_FOLDER", data, function (obj) {
if (obj && obj.error) { return void cb(obj.error); }
cb(null, obj);
});
};
common.setDisplayName = function (value, cb) {
postMessage("SET_DISPLAY_NAME", value, cb);
};