Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10093 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
6e7507d580
commit
1a088fb31e
|
@ -13,14 +13,12 @@ $(document).ready(function() {
|
|||
Copy the branch/tag value into the revision box, then disable
|
||||
the dropdowns before submitting the form
|
||||
*/
|
||||
$('#branch,#tag').each(function() {
|
||||
$(this).change(function() {
|
||||
$('#branch,#tag').change(function() {
|
||||
$('#rev').val($(this).val());
|
||||
$('#branch,#tag').attr('disabled', true);
|
||||
$(this).parent().submit();
|
||||
$('#branch,#tag').removeAttr('disabled');
|
||||
});
|
||||
});
|
||||
|
||||
/*
|
||||
Disable the branch/tag dropdowns before submitting the revision form
|
||||
|
|
Loading…
Reference in New Issue