projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into 2871-preload-objects
[arvados.git]
/
apps
/
workbench
/
app
/
assets
/
javascripts
/
editable.js
diff --git
a/apps/workbench/app/assets/javascripts/editable.js
b/apps/workbench/app/assets/javascripts/editable.js
index 8eea1693e8721efcf401c4c2c3c55bb0205180d1..0514c1e67ffb7aa789d983eb3c3b09d53530d6d2 100644
(file)
--- a/
apps/workbench/app/assets/javascripts/editable.js
+++ b/
apps/workbench/app/assets/javascripts/editable.js
@@
-9,6
+9,10
@@
$.fn.editable.defaults.send = 'always';
// too narrow, when the popup box will just move to do the right thing.
//$.fn.editable.defaults.mode = 'inline';
// too narrow, when the popup box will just move to do the right thing.
//$.fn.editable.defaults.mode = 'inline';
+$.fn.editable.defaults.success = function (response, newValue) {
+ $(document).trigger('editable:success', [this, response, newValue]);
+};
+
$.fn.editable.defaults.params = function (params) {
var a = {};
var key = params.pk.key;
$.fn.editable.defaults.params = function (params) {
var a = {};
var key = params.pk.key;