Commit 5963d50e authored by flothoni's avatar flothoni

database.js; add a spinner during the subprocess call

link to #1469
parent 62bb8bbe
......@@ -128,6 +128,8 @@ Database.prototype = {
get_read: function(window, clone_id, sequence_file_id) {
var self = this;
self.ajax_indicator_start()
self.callProcess('default/run_request',
{'sequence_file_id': sequence_file_id,
'sample_set_id': self.m.sample_set_id,
......@@ -149,6 +151,7 @@ Database.prototype = {
// Link to result file and launch download
anchor.setAttribute("href", path_data);
anchor.setAttribute("download", file_name);
self.ajax_indicator_stop()
anchor.click();
// openAndFillNewTab("Your reads are ready. <a href='"+DB_ADDRESS+"/results_file/download?filename=seq/clone.fa-1&results_file_id="+a.result_id+"'>Download them</a>");
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment