accessibility

This commit is contained in:
rick
2010-08-12 09:10:02 -07:00
parent 6649dd4812
commit b118436fa9
2 changed files with 6 additions and 3 deletions
@@ -203,10 +203,13 @@ $(function(){
} }
}) })
$('ul.inline-tabs').tabs() $('ul.inline-tabs').tabs();
var selectedRevisions = []; var selectedRevisions = [];
var baseCompareUrl = null var baseCompareUrl = null;
// disable submit button js for accessiblity
$('form#history input[type=submit]').attr('disabled', true);
$('form#history input[type=checkbox]').change(function() { $('form#history input[type=checkbox]').change(function() {
var id = $(this).val() var id = $(this).val()
@@ -8,7 +8,7 @@
<table class="commits" cellpadding="0" cellspacing="0"> <table class="commits" cellpadding="0" cellspacing="0">
<tr> <tr>
<th colspan="5"> <th colspan="5">
Select any two versions to <input type="submit" value="Compare" disabled /> Select any two versions to <input type="submit" value="Compare" />
</th> </th>
{{#versions}} {{#versions}}
<tr class="commit"> <tr class="commit">