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