fixing issues with UTF8 characters in translatable strings

remotes/origin/stable5
Thomas Mueller 12 years ago
parent 010c4c2891
commit 037c3ee4ec
  1. 1
      apps/files_external/css/settings.css
  2. 8
      apps/files_external/js/settings.js

@ -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; }

@ -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) {

Loading…
Cancel
Save