[ARVADOS] updated: 9591cf965cc6d780a88e713e7ee3c0530397dcd7

git at public.curoverse.com git at public.curoverse.com
Sun Jul 27 18:35:53 EDT 2014


Summary of changes:
 apps/workbench/app/assets/javascripts/application.js | 2 --
 1 file changed, 2 deletions(-)

  discards  086df9da5514492c9b5751de14be7825f49285a0 (commit)
       via  9591cf965cc6d780a88e713e7ee3c0530397dcd7 (commit)

This update added new revisions after undoing existing revisions.  That is
to say, the old revision is not a strict subset of the new revision.  This
situation occurs when you --force push a change and generate a repository
containing something like this:

 * -- * -- B -- O -- O -- O (086df9da5514492c9b5751de14be7825f49285a0)
            \
             N -- N -- N (9591cf965cc6d780a88e713e7ee3c0530397dcd7)

When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.

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 9591cf965cc6d780a88e713e7ee3c0530397dcd7
Author: Tom Clegg <tom at curoverse.com>
Date:   Sun Jul 27 18:35:46 2014 -0400

    3235: Bind Esc key to close modals.

diff --git a/apps/workbench/app/assets/javascripts/application.js b/apps/workbench/app/assets/javascripts/application.js
index d21c4b5..cbca4c0 100644
--- a/apps/workbench/app/assets/javascripts/application.js
+++ b/apps/workbench/app/assets/javascripts/application.js
@@ -135,11 +135,13 @@ jQuery(function($){
         on('ajax:complete ready', function() {
             // See http://getbootstrap.com/javascript/#buttons
             $('.btn').button();
-        });
-
-    $(document).
+        }).
         on('ready ajax:complete', function() {
             $('[data-toggle~=tooltip]').tooltip({container:'body'});
+        }).
+        on('ready ajax:complete', function() {
+            // This makes the dialog close on Esc key, obviously.
+            $('.modal').attr('tabindex', '-1')
         });
 
     HeaderRowFixer = function(selector) {

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list