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,13 +13,11 @@ $(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() {
|
||||
$('#rev').val($(this).val());
|
||||
$('#branch,#tag').attr('disabled', true);
|
||||
$(this).parent().submit();
|
||||
$('#branch,#tag').removeAttr('disabled');
|
||||
});
|
||||
$('#branch,#tag').change(function() {
|
||||
$('#rev').val($(this).val());
|
||||
$('#branch,#tag').attr('disabled', true);
|
||||
$(this).parent().submit();
|
||||
$('#branch,#tag').removeAttr('disabled');
|
||||
});
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue