aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/js
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2013-01-02 12:13:59 -0500
committerMichael Gapczynski <mtgap@owncloud.com>2013-01-02 12:13:59 -0500
commitdb90f2c296c4a74933c2d258d8b335a3093db0f9 (patch)
tree2df5cf5a21bc61f352bbe1b8ca15ca71d5eb980a /apps/files_external/js
parentd65cb7ae0954e89de0a1b56170ffab683c39e3cc (diff)
downloadnextcloud-server-db90f2c296c4a74933c2d258d8b335a3093db0f9.tar.gz
nextcloud-server-db90f2c296c4a74933c2d258d8b335a3093db0f9.zip
Listen to checkbox changes as well
Diffstat (limited to 'apps/files_external/js')
-rw-r--r--apps/files_external/js/settings.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files_external/js/settings.js b/apps/files_external/js/settings.js
index b98fcf1b0ae..2a8d8d2c284 100644
--- a/apps/files_external/js/settings.js
+++ b/apps/files_external/js/settings.js
@@ -239,6 +239,10 @@ $(document).ready(function() {
}
});
+ $('#externalStorage td input:checkbox').live('change', function() {
+ OC.MountConfig.saveStorage($(this).parent().parent().parent());
+ });
+
$('.applicable .chzn-select').live('change', function() {
OC.MountConfig.saveStorage($(this).parent().parent());
});