@@ -13,14 +13,12 $(document).ready(function() { | |||||
13 | Copy the branch/tag value into the revision box, then disable |
|
13 | Copy the branch/tag value into the revision box, then disable | |
14 | the dropdowns before submitting the form |
|
14 | the dropdowns before submitting the form | |
15 | */ |
|
15 | */ | |
16 |
$('#branch,#tag'). |
|
16 | $('#branch,#tag').change(function() { | |
17 | $(this).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 | Disable the branch/tag dropdowns before submitting the revision form |
|
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