summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-02-19 10:20:52 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-02-19 10:20:52 +0100
commitfdb0d2067ff66017a3cae76f1da7b18e94dc5364 (patch)
treeb1b9e4585f0ffd7755c2431aaa543972b2132d5a /apps/files_encryption
parent8387cd8ae35a0ad94a49a27ad8622bb7b8ed2b06 (diff)
downloadnextcloud-server-fdb0d2067ff66017a3cae76f1da7b18e94dc5364.tar.gz
nextcloud-server-fdb0d2067ff66017a3cae76f1da7b18e94dc5364.zip
Remove duplicated definition and move OC.msg to js/js.js
Fix issue #7166
Diffstat (limited to 'apps/files_encryption')
-rw-r--r--apps/files_encryption/js/settings-admin.js22
1 files changed, 0 insertions, 22 deletions
diff --git a/apps/files_encryption/js/settings-admin.js b/apps/files_encryption/js/settings-admin.js
index c2140a6f1eb..785d02002fa 100644
--- a/apps/files_encryption/js/settings-admin.js
+++ b/apps/files_encryption/js/settings-admin.js
@@ -7,28 +7,6 @@
* See the COPYING-README file.
*/
-OC.msg={
- startSaving:function(selector){
- $(selector)
- .html( t('settings', 'Saving...') )
- .removeClass('success')
- .removeClass('error')
- .stop(true, true)
- .show();
- },
- finishedSaving:function(selector, data){
- if( data.status === "success" ){
- $(selector).html( data.data.message )
- .addClass('success')
- .stop(true, true)
- .delay(3000)
- .fadeOut(900);
- }else{
- $(selector).html( data.data.message ).addClass('error');
- }
- }
-};
-
$(document).ready(function(){
// Trigger ajax on recoveryAdmin status change
var enabledStatus = $('#adminEnableRecovery').val();