##// END OF EJS Templates
Code cleanup....
Jean-Philippe Lang -
r9910:1a088fb31e5c
parent child
Show More
@@ -13,14 +13,12 $(document).ready(function() {
13 13 Copy the branch/tag value into the revision box, then disable
14 14 the dropdowns before submitting the form
15 15 */
16 $('#branch,#tag').each(function() {
17 $(this).change(function() {
16 $('#branch,#tag').change(function() {
18 17 $('#rev').val($(this).val());
19 18 $('#branch,#tag').attr('disabled', true);
20 19 $(this).parent().submit();
21 20 $('#branch,#tag').removeAttr('disabled');
22 21 });
23 });
24 22
25 23 /*
26 24 Disable the branch/tag dropdowns before submitting the revision form
General Comments 0
You need to be logged in to leave comments. Login now