[ARVADOS] updated: 0548dd424d6f21f3eb97f3e98d37a604b44b025a
git at public.curoverse.com
git at public.curoverse.com
Tue Jun 10 16:05:00 EDT 2014
Summary of changes:
apps/workbench/app/assets/javascripts/editable.js | 3 +++
1 file changed, 3 insertions(+)
via 0548dd424d6f21f3eb97f3e98d37a604b44b025a (commit)
from 70148c4918a95ee9a49a18bf5789801d02e8ef5e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 0548dd424d6f21f3eb97f3e98d37a604b44b025a
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Tue Jun 10 16:04:56 2014 -0400
Added error-handler for x-editable that extracts Arvados API error field for
display, closes #2819
diff --git a/apps/workbench/app/assets/javascripts/editable.js b/apps/workbench/app/assets/javascripts/editable.js
index 0514c1e..16bb7f6 100644
--- a/apps/workbench/app/assets/javascripts/editable.js
+++ b/apps/workbench/app/assets/javascripts/editable.js
@@ -57,6 +57,9 @@ $(document).
$(this).editable('option', 'url', response.href);
}
return;
+ },
+ error: function(response, newValue) {
+ return response.responseJSON.errors.join();
}
}).
on('hidden', function(e, reason) {
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list