@@ -13,13 +13,11 $(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() { |
|
17 | $('#rev').val($(this).val()); | |
18 | $('#rev').val($(this).val()); |
|
18 | $('#branch,#tag').attr('disabled', true); | |
19 | $('#branch,#tag').attr('disabled', true); |
|
19 | $(this).parent().submit(); | |
20 | $(this).parent().submit(); |
|
20 | $('#branch,#tag').removeAttr('disabled'); | |
21 | $('#branch,#tag').removeAttr('disabled'); |
|
|||
22 | }); |
|
|||
23 | }); |
|
21 | }); | |
24 |
|
22 | |||
25 | /* |
|
23 | /* |
General Comments 0
You need to be logged in to leave comments.
Login now