You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by jo...@apache.org on 2013/09/05 20:20:59 UTC

[34/50] git commit: [#4595] ticket:421 Check the checkbox when clicking on the corresponding row

[#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/cj/6596
Commit: 16f3beceae726cc4c3b849236be47510aea3c173
Parents: 22f7c86
Author: Igor Bondarenko <je...@gmail.com>
Authored: Mon Sep 2 11:10:55 2013 +0300
Committer: Tim Van Steenburgh <tv...@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');
+    }
+  });
 });