Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2016-09-12 19:53:54 +0300
committerAndras Timar <andras.timar@collabora.com>2016-09-12 19:53:54 +0300
commit7a0d2b944cde026abd6527bf3e51f41e809faa9c (patch)
tree69f5961cc6abbec5bc9fe7f3796459ec783469bd /js
parentd16f783a5d0d8427a321379b3ed5759cf4c94193 (diff)
change id of Apply button, fixes #93, fixes #92
Diffstat (limited to 'js')
-rw-r--r--js/admin.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/admin.js b/js/admin.js
index 7f9329c2..f398a12d 100644
--- a/js/admin.js
+++ b/js/admin.js
@@ -4,7 +4,7 @@ $(document).ready(function(){
var documentsSettings = {
save : function() {
- $('#docs_apply').attr('disabled', true);
+ $('#wopi_apply').attr('disabled', true);
var data = {
wopi_url : $('#wopi_url').val()
};
@@ -18,10 +18,10 @@ $(document).ready(function(){
},
afterSave : function(response){
- $('#docs_apply').attr('disabled', false);
+ $('#wopi_apply').attr('disabled', false);
OC.msg.finishedAction('#documents-admin-msg', response);
}
};
- $('#docs_apply').on('click', documentsSettings.save);
+ $('#wopi_apply').on('click', documentsSettings.save);
});