Skip to content

Commit

Permalink
cobweb-eu/cobweb#160: added loading icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Panos Terzis authored and Panos Terzis committed Jul 10, 2015
1 parent 7e55ad8 commit fafe577
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/js/former/jquery.former.core.js
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,6 @@
else{
giveFeedback("You need to refresh your page. The session with the provider has problems!");
}
loading(false);
});
};

Expand All @@ -410,7 +409,6 @@
"userId": userId
};
var bformer = this;
loading(true);
pcapi.getItems(options).then(function(data){
var form_links = new Array();
var by_editor = new Array();
Expand Down Expand Up @@ -441,7 +439,6 @@
by_editor.push('<option value="'+name+'">'+name+'</option>');
}
}
loading(false);
}

$('button').prop('disabled', false);
Expand Down Expand Up @@ -474,6 +471,7 @@
if(bformer.options.publicEditor){
options.userId = config.pcapianonymous;
}
loading(true);
pcapi.getEditor(options).then(function(data){
bformer.appendExistingEditor(data, true, editorTitle);
bformer.enableActionButtons(false, false, false);
Expand Down

0 comments on commit fafe577

Please sign in to comment.