Minor Fixes for jQuery 1.3.2 Upgrade
I looked through all the relevant Javascript on this site to find spots that would break in the upgrade from jQuery 1.2 to jQuery 1.3, and I fixed them. Signed-off-by: John Beppu <john.beppu@liblime.com> Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
parent
5a93f0b806
commit
2fa6b26825
9 changed files with 10 additions and 10 deletions
|
@ -1,7 +1,7 @@
|
|||
<script type="text/javascript">//<![CDATA[
|
||||
$(document).ready(function() {
|
||||
var path = location.pathname.substring(1);
|
||||
$('#navmenulist a[@href$="/' + path + '"]').css('font-weight','bold');
|
||||
$('#navmenulist a[href$="/' + path + '"]').css('font-weight','bold');
|
||||
});
|
||||
//]]>
|
||||
</script>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
line.removeChild(ButtonPlus);
|
||||
}
|
||||
$(document).ready(function() {
|
||||
$("input[@name='q']:eq(0)").focus();
|
||||
$("input[name=q]:eq(0)").focus();
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
|
|
|
@ -109,7 +109,7 @@
|
|||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>20-24 entry map & lengths</td>
|
||||
<td>20-24 entry map & lengths</td>
|
||||
<td>(auto-filled)</td>
|
||||
<tr>
|
||||
|
||||
|
|
|
@ -300,7 +300,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>20-24 entry map & lengths</td>
|
||||
<td>20-24 entry map & lengths</td>
|
||||
<td>(auto-filled)</td>
|
||||
<tr>
|
||||
|
||||
|
|
|
@ -300,7 +300,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>20-24 entry map & lengths</td>
|
||||
<td>20-24 entry map & lengths</td>
|
||||
<td>(auto-filled)</td>
|
||||
<tr>
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
<tr><td colspan=2><input type="button" value="OK" onClick="javascript:report()"></td></tr>
|
||||
</table>
|
||||
</form>
|
||||
<script type="text/javascritp">
|
||||
<script type="text/javascript">
|
||||
function report() {
|
||||
document.f_pop.f2.value=document.f_pop.f2.value+' ';
|
||||
document.f_pop.f3.value=document.f_pop.f3.value+' ';
|
||||
|
|
|
@ -281,7 +281,7 @@
|
|||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>19-24 entry map & lengths</td>
|
||||
<td>19-24 entry map & lengths</td>
|
||||
<td>(auto-filled)</td>
|
||||
<tr>
|
||||
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
$("input[@name='layoutchoice']").change( function() { layout_method() } );
|
||||
$("input[name=layoutchoice]").change( function() { layout_method() } );
|
||||
layout_method();
|
||||
});
|
||||
function layout_method() {
|
||||
if( $("input[@name='layoutchoice']:checked").val() == 'layout_string' ) {
|
||||
if( $("input[name=layoutchoice]:checked").val() == 'layout_string' ) {
|
||||
$('#layout_tx').hide();
|
||||
$('#layout_string').show();
|
||||
} else {
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
$("div[id*=other-reason]").hide();
|
||||
$("input[name*=other-reason]").focus(function(){ $(this).val(""); });
|
||||
$("select[name*=reason]").change(function(){
|
||||
if($(this).children("[@selected]").val() == "other"){
|
||||
if($(this).children("[selected]").val() == "other"){
|
||||
displayOther($(this).attr("name").replace(/reason/,""),"other-reason","select-reason");
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue