summaryrefslogtreecommitdiffstats
path: root/apps/files_external/js
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2012-06-28 17:54:53 -0400
committerMichael Gapczynski <mtgap@owncloud.com>2012-06-28 17:55:22 -0400
commit31bba86e8753ce3a1d7821c195f64ebfb052e01d (patch)
tree6fb3630a1e2f1cb6f6299ecdbc7f485365439c20 /apps/files_external/js
parent1ccbbfad530e4efdbfe301c8014ee7f31fa56220 (diff)
downloadnextcloud-server-31bba86e8753ce3a1d7821c195f64ebfb052e01d.tar.gz
nextcloud-server-31bba86e8753ce3a1d7821c195f64ebfb052e01d.zip
Fix external storage UI for Admin page
Diffstat (limited to 'apps/files_external/js')
-rw-r--r--apps/files_external/js/settings.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/js/settings.js b/apps/files_external/js/settings.js
index 57188a6a266..49b7710638e 100644
--- a/apps/files_external/js/settings.js
+++ b/apps/files_external/js/settings.js
@@ -27,7 +27,7 @@ OC.MountConfig={
}
});
if (addMountPoint) {
- if ($('#externalStorage').data('admin')) {
+ if ($('#externalStorage').data('admin') === true) {
var isPersonal = false;
var multiselect = $(tr).find('.chzn-select').val();
var oldGroups = $(tr).find('.applicable').data('applicable-groups');
@@ -117,7 +117,7 @@ $(document).ready(function() {
if (mountPoint == '') {
return false;
}
- if ($('#externalStorage').data('admin')) {
+ if ($('#externalStorage').data('admin') === true) {
var isPersonal = false;
var multiselect = $(tr).find('.chzn-select').val();
$.each(multiselect, function(index, value) {