(function(){
function updateStatus(statusEl, result){
- statusEl.removeClass('success error loading');
+ statusEl.removeClass('success error loading-small');
if (result && result.status == 'success' && result.data.message) {
statusEl.addClass('success');
return true;
}
users.push(applicable);
}
- statusSpan.addClass('loading').removeClass('error success');
+ statusSpan.addClass('loading-small').removeClass('error success');
$.ajax({type: 'POST',
url: OC.filePath('files_external', 'ajax', 'addMountPoint.php'),
data: {
var isPersonal = true;
var mountType = 'user';
var applicable = OC.currentUser;
- statusSpan.addClass('loading').removeClass('error success');
+ statusSpan.addClass('loading-small').removeClass('error success');
$.ajax({type: 'POST',
url: OC.filePath('files_external', 'ajax', 'addMountPoint.php'),
data: {
span.ui-icon {float: left; margin: 3px 7px 30px 0;}
.loading { background: url('../img/loading.gif') no-repeat center; cursor: wait; }
+.loading-small { background: url('../img/loading-small.gif') no-repeat center; cursor: wait; }
.move2trash { /* decrease spinner size */
width: 16px;
height: 16px;