diff options
author | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-02-13 00:23:37 +0100 |
---|---|---|
committer | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-02-13 00:23:37 +0100 |
commit | 037c3ee4ecf6f3ffae0f1707074ac13b234dc1ec (patch) | |
tree | f26f4a6d6fe79a4d1c9f9c7639b44e4eec232cb0 /apps/files_external | |
parent | 010c4c289123da70ccceee22e9f56927d7fe553f (diff) | |
download | nextcloud-server-037c3ee4ecf6f3ffae0f1707074ac13b234dc1ec.tar.gz nextcloud-server-037c3ee4ecf6f3ffae0f1707074ac13b234dc1ec.zip |
fixing issues with UTF8 characters in translatable strings
Diffstat (limited to 'apps/files_external')
-rw-r--r-- | apps/files_external/css/settings.css | 1 | ||||
-rw-r--r-- | apps/files_external/js/settings.js | 8 |
2 files changed, 2 insertions, 7 deletions
diff --git a/apps/files_external/css/settings.css b/apps/files_external/css/settings.css index 2580fe48ae0..94b453793b1 100644 --- a/apps/files_external/css/settings.css +++ b/apps/files_external/css/settings.css @@ -2,7 +2,6 @@ td.status>span { display:inline-block; height:16px; width:16px; } span.success { background-image: url('../img/success.png'); background-repeat:no-repeat; } span.error { background-image: url('../img/error.png'); background-repeat:no-repeat; } span.waiting { background-image: url('../img/waiting.png'); background-repeat:no-repeat; } -span.pending { background-image: url('%webroot%/core/img/loading.gif'); background-repeat:no-repeat; } td.mountPoint, td.backend { width:10em; } td.remove>img { visibility:hidden; padding-top:0.8em; } tr:hover>td.remove>img { visibility:visible; cursor:pointer; } diff --git a/apps/files_external/js/settings.js b/apps/files_external/js/settings.js index 30b2eac417f..5dffbce5bdf 100644 --- a/apps/files_external/js/settings.js +++ b/apps/files_external/js/settings.js @@ -58,8 +58,6 @@ OC.MountConfig={ } users.push(applicable); } - statusSpan.removeClass(); - statusSpan.addClass('pending'); $.ajax({type: 'POST', url: OC.filePath('files_external', 'ajax', 'addMountPoint.php'), data: { @@ -70,7 +68,7 @@ OC.MountConfig={ applicable: applicable, isPersonal: isPersonal }, - async: true, + async: false, success: function(result) { statusSpan.removeClass(); if (result && result.status == 'success' && result.data.message) { @@ -118,8 +116,6 @@ OC.MountConfig={ var isPersonal = true; var mountType = 'user'; var applicable = OC.currentUser; - statusSpan.removeClass(); - statusSpan.addClass('pending'); $.ajax({type: 'POST', url: OC.filePath('files_external', 'ajax', 'addMountPoint.php'), data: { @@ -130,7 +126,7 @@ OC.MountConfig={ applicable: applicable, isPersonal: isPersonal }, - async: true, + async: false, success: function(result) { statusSpan.removeClass(); if (result && result.status == 'success' && result.data.message) { |