Update enclosure.js
This commit is contained in:
committed by
GitHub
parent
95d0495878
commit
5f1223734b
@@ -242,22 +242,22 @@ $(function() {
|
||||
// }
|
||||
// };
|
||||
|
||||
|
||||
self.fixAutoStartupUI = function(idNumber){
|
||||
if($('#autoStartup_'+idNumber).is(':checked')){
|
||||
$('#autoStartupField_'+idNumber).show("blind");
|
||||
}else{
|
||||
$('#autoStartupField_'+idNumber).hide("blind");
|
||||
}
|
||||
};
|
||||
|
||||
self.fixAutoShutdownUI = function(idNumber){
|
||||
if($('#autoShutdown_'+idNumber).is(':checked')){
|
||||
$('#autoShutdownField_'+idNumber).show("blind");
|
||||
}else{
|
||||
$('#autoShutdownField_'+idNumber).hide("blind");
|
||||
}
|
||||
};
|
||||
//
|
||||
// self.fixAutoStartupUI = function(idNumber){
|
||||
// if($('#autoStartup_'+idNumber).is(':checked')){
|
||||
// $('#autoStartupField_'+idNumber).show("blind");
|
||||
// }else{
|
||||
// $('#autoStartupField_'+idNumber).hide("blind");
|
||||
// }
|
||||
// };
|
||||
//
|
||||
// self.fixAutoShutdownUI = function(idNumber){
|
||||
// if($('#autoShutdown_'+idNumber).is(':checked')){
|
||||
// $('#autoShutdownField_'+idNumber).show("blind");
|
||||
// }else{
|
||||
// $('#autoShutdownField_'+idNumber).hide("blind");
|
||||
// }
|
||||
// };
|
||||
|
||||
self.isNumeric = function(n){
|
||||
return !isNaN(parseFloat(n)) && isFinite(n);
|
||||
|
||||
Reference in New Issue
Block a user