|
Lines 978-986
Link Here
|
| 978 |
|
978 |
|
| 979 |
$(document).ready(function() { |
979 |
$(document).ready(function() { |
| 980 |
[% UNLESS clubs %] |
980 |
[% UNLESS clubs %] |
| 981 |
$('#circ_holds_select').tabs({active: 0}); |
981 |
$('#circ_holds_select').tabs({ |
|
|
982 |
active: 0, |
| 983 |
activate: function(){ |
| 984 |
$(this).find("input.focus").focus(); |
| 985 |
}, |
| 986 |
create: function(){ |
| 987 |
$(this).find("input.focus").focus(); |
| 988 |
} |
| 989 |
}); |
| 982 |
[% ELSE %] |
990 |
[% ELSE %] |
| 983 |
$('#circ_holds_select').tabs({active: 1}); |
991 |
$('#circ_holds_select').tabs({ |
|
|
992 |
active: 1, |
| 993 |
activate: function(){ |
| 994 |
$(this).find("input.focus").focus(); |
| 995 |
}, |
| 996 |
create: function(){ |
| 997 |
$(this).find("input.focus").focus(); |
| 998 |
} |
| 999 |
}); |
| 984 |
[% END %] |
1000 |
[% END %] |
| 985 |
function ToggleHoldsToPlace() { |
1001 |
function ToggleHoldsToPlace() { |
| 986 |
if ( $("#requestany").prop('checked') ) { |
1002 |
if ( $("#requestany").prop('checked') ) { |
| 987 |
- |
|
|