incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [1/2] git commit: [#5077] properly focus the textbox when adding a user to permissions
Date Mon, 22 Oct 2012 17:15:47 GMT
Updated Branches:
  refs/heads/master 30c0f473d -> 760828dd8


[#5077] properly focus the textbox when adding a user to permissions


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/760828dd
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/760828dd
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/760828dd

Branch: refs/heads/master
Commit: 760828dd8cbf24d6af934f0d3aa7a7f19d272998
Parents: 58f6af4
Author: Dave Brondsema <dbrondsema@geek.net>
Authored: Mon Oct 22 17:15:18 2012 +0000
Committer: Dave Brondsema <dbrondsema@geek.net>
Committed: Mon Oct 22 17:15:18 2012 +0000

----------------------------------------------------------------------
 Allura/allura/public/nf/js/project_groups.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/760828dd/Allura/allura/public/nf/js/project_groups.js
----------------------------------------------------------------------
diff --git a/Allura/allura/public/nf/js/project_groups.js b/Allura/allura/public/nf/js/project_groups.js
index 3ed0ee1..99f4336 100644
--- a/Allura/allura/public/nf/js/project_groups.js
+++ b/Allura/allura/public/nf/js/project_groups.js
@@ -145,7 +145,7 @@ $(function() {
       newitem.remove();
       newitem.removeClass('new-item');
       adder.click(function(evt) {
-          newitem.clone().insertBefore(adder.closest('li')).find('input').focus();
+          newitem.clone().insertBefore(adder.closest('li')).find('input:text').focus();
       });
   });
   // cancel adding user
@@ -153,4 +153,4 @@ $(function() {
     evt.preventDefault();
     $(this).closest('li').remove();
   });
-});
\ No newline at end of file
+});


Mime
View raw message