diff options
author | Andras Timar <andras.timar@collabora.com> | 2016-09-12 20:38:01 +0300 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2016-09-12 20:42:46 +0300 |
commit | 6fc595eb938c02ad6dde025f6eac5a9305643880 (patch) | |
tree | 94d46e64063d9a7e44b3afa236d5b62d2f53f1d1 /js | |
parent | 7a0d2b944cde026abd6527bf3e51f41e809faa9c (diff) |
remove unused 'Save new documents to' setting, fixes #76
Diffstat (limited to 'js')
-rw-r--r-- | js/personal.js | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/js/personal.js b/js/personal.js deleted file mode 100644 index 7bf434f4..00000000 --- a/js/personal.js +++ /dev/null @@ -1,21 +0,0 @@ -$(document).ready(function(){ - var documentsSettings = { - save : function() { - var data = { - savePath : $('#documents-default-path').val() - }; - OC.msg.startSaving('#documents-personal .msg'); - $.post(OC.filePath('richdocuments', 'ajax', 'personal.php'), data, documentsSettings.afterSave); - }, - afterSave : function(data){ - OC.msg.finishedSaving('#documents-personal .msg', data); - } - }; - $('#documents-default-path').blur(documentsSettings.save); - $('#documents-default-path').keypress(function( event ) { - if (event.which == 13) { - event.preventDefault(); - documentsSettings.save(); - } - }); -}); |