diff options
author | Sergey Linnik <sergey.linnik@onlyoffice.com> | 2017-04-28 16:28:13 +0300 |
---|---|---|
committer | Sergey Linnik <sergey.linnik@onlyoffice.com> | 2017-04-28 17:06:19 +0300 |
commit | a78f156d8acbd8a13a697c136bfd9401355178d1 (patch) | |
tree | 44d58883ab664ffb58566337d585f7feb2a4c608 /js/settings.js | |
parent | 77a0ddeb8a9a7c88e29390f6b51af8eaa33a30e8 (diff) |
using internal url
Diffstat (limited to 'js/settings.js')
-rw-r--r-- | js/settings.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/js/settings.js b/js/settings.js index 2b2b5b0..759e480 100644 --- a/js/settings.js +++ b/js/settings.js @@ -54,7 +54,7 @@ $("#onlyofficeInternalUrl, #onlyofficeSecret").val(""); } - var onlyofficeSecret = $("#onlyofficeSecret:visible").val(); + var onlyofficeSecret = $("#onlyofficeSecret:visible").val() || ""; var onlyofficeInternalUrl = ($("#onlyofficeInternalUrl:visible").val() || "").trim(); $.ajax({ @@ -69,6 +69,7 @@ if (response && response.documentserver != null) { $("#onlyofficeUrl").val(response.documentserver); $("#onlyofficeInternalUrl").val(response.documentserverInternal); + $("#onlyofficeSecret").val(response.secret); var message = response.error |