projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
5417: add "unreadable inputs provided" visual cue for an editable pipeline instance.
[arvados.git]
/
apps
/
workbench
/
app
/
assets
/
javascripts
/
collections.js
diff --git
a/apps/workbench/app/assets/javascripts/collections.js
b/apps/workbench/app/assets/javascripts/collections.js
index e95783512721b87b2aea0e47ec80e919646608b8..865f121e56b20e4bdb1e59a388a6316430740e81 100644
(file)
--- a/
apps/workbench/app/assets/javascripts/collections.js
+++ b/
apps/workbench/app/assets/javascripts/collections.js
@@
-20,7
+20,6
@@
jQuery(function($){
}).
done(function(data, status, jqxhr) {
var context = this;
}).
done(function(data, status, jqxhr) {
var context = this;
- $(document).trigger('ajax:complete');
// Remove "danger" status in case a previous action failed
$('.btn-danger', context.toggle_group).
addClass('btn-info').
// Remove "danger" status in case a previous action failed
$('.btn-danger', context.toggle_group).
addClass('btn-info').
@@
-32,7
+31,6
@@
jQuery(function($){
fail(function(jqxhr, status, error) {
var context = this;
var saved_state;
fail(function(jqxhr, status, error) {
var context = this;
var saved_state;
- $(document).trigger('ajax:complete');
// Add a visual indication that something failed
$(context.button).
addClass('btn-danger').
// Add a visual indication that something failed
$(context.button).
addClass('btn-danger').
@@
-53,6
+51,5
@@
jQuery(function($){
window.alert("Request failed.");
}
});
window.alert("Request failed.");
}
});
- $(document).trigger('ajax:send');
});
});
});
});