incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tvansteenbu...@apache.org
Subject [2/9] git commit: [#4595] ticket:421 Check the checkbox when clicking on the corresponding row
Date Wed, 04 Sep 2013 13:20:22 GMT
[#4595] ticket:421 Check the checkbox when clicking on the corresponding row


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

Branch: refs/heads/master
Commit: 16f3beceae726cc4c3b849236be47510aea3c173
Parents: 22f7c86
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Mon Sep 2 11:10:55 2013 +0300
Committer: Tim Van Steenburgh <tvansteenburgh@gmail.com>
Committed: Wed Sep 4 13:19:54 2013 +0000

----------------------------------------------------------------------
 Allura/allura/public/nf/js/site_admin_new_projects.js | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/16f3bece/Allura/allura/public/nf/js/site_admin_new_projects.js
----------------------------------------------------------------------
diff --git a/Allura/allura/public/nf/js/site_admin_new_projects.js b/Allura/allura/public/nf/js/site_admin_new_projects.js
index 42b6e08..d27322e 100644
--- a/Allura/allura/public/nf/js/site_admin_new_projects.js
+++ b/Allura/allura/public/nf/js/site_admin_new_projects.js
@@ -31,4 +31,10 @@ $(document).ready(function() {
       $('#selected-projects').text(shortnames.join(' '));
     }
   });
+
+  $('tr').click(function(event) {
+    if (event.target.tagName !== 'A' && event.target.type !== 'checkbox') {
+      $(this).find(':checkbox').trigger('click');
+    }
+  });
 });


Mime
View raw message