fixing issues with UTF8 characters in translatable strings

This commit is contained in:
Thomas Mueller 2013-02-13 00:23:37 +01:00
parent 010c4c2891
commit 037c3ee4ec
2 changed files with 2 additions and 7 deletions

View file

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

View file

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