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

github.com/ONLYOFFICE/onlyoffice-nextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'js/settings.js')
-rw-r--r--js/settings.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/js/settings.js b/js/settings.js
index 3bcc1bb..4c51540 100644
--- a/js/settings.js
+++ b/js/settings.js
@@ -67,6 +67,11 @@
defFormats[this.name] = this.checked;
});
+ var editFormats = {};
+ $("input[id^=\"onlyofficeEditFormat\"]").each(function() {
+ editFormats[this.name] = this.checked;
+ });
+
var sameTab = $("#onlyofficeSameTab").is(":checked");
$.ajax({
@@ -78,6 +83,7 @@
storageUrl: onlyofficeStorageUrl,
secret: onlyofficeSecret,
defFormats: defFormats,
+ editFormats: editFormats,
sameTab: sameTab
},
success: function onSuccess(response) {