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
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2016-03-15 01:34:29 +0300
committerAndras Timar <andras.timar@collabora.com>2016-03-15 01:34:29 +0300
commitf0f3e42c0e1ce423464ae50742be572b49a97bec (patch)
treee8e9f84fe75d72f9ab1f62841b2405c4ef830341 /js/admin.js
parent664a564ee4889fb28fb6ad7d977b70564e9387ea (diff)
remove dead code (from Collabora Online perspective)
Diffstat (limited to 'js/admin.js')
-rw-r--r--js/admin.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/js/admin.js b/js/admin.js
index e0f78ded..7f9329c2 100644
--- a/js/admin.js
+++ b/js/admin.js
@@ -6,14 +6,9 @@ $(document).ready(function(){
save : function() {
$('#docs_apply').attr('disabled', true);
var data = {
- converter : $('[name="docs_converter"]:checked').val(),
wopi_url : $('#wopi_url').val()
};
- if (data.converter === 'external'){
- data.url = $('#docs_url').val();
- }
-
OC.msg.startAction('#documents-admin-msg', t('richdocuments', 'Saving...'));
$.post(
OC.filePath('richdocuments', 'ajax', 'admin.php'),
@@ -28,8 +23,5 @@ $(document).ready(function(){
}
};
- $('#docs_converter_external, #docs_converter_local, #docs_converter_off').on('click', function(){
- $('#docs_extra').toggle($('[name="docs_converter"]:checked').val() === 'external');
- });
$('#docs_apply').on('click', documentsSettings.save);
});