File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -291,16 +291,16 @@ OB.Schedule.addeditModeChange = function (where) {
291291 var val = $ ( "#" + where + "_mode" ) . val ( ) ;
292292
293293 if ( val == "once" ) {
294- $ ( "#" + where + "_addedit_x_data" ) . hide ( ) ;
295- $ ( "#" + where + "_addedit_stop" ) . hide ( ) ;
294+ $ ( "#" + where + "_addedit_x_data" ) . addClass ( 'hidden' ) ;
295+ $ ( "#" + where + "_addedit_stop" ) . addClass ( 'hidden' ) ;
296296
297297 return ;
298298 }
299299
300- $ ( "#" + where + "_addedit_stop" ) . show ( ) ;
300+ $ ( "#" + where + "_addedit_stop" ) . removeClass ( 'hidden' ) ;
301301
302- if ( val == "xweeks" || val == "xmonths" || val == "xdays" ) $ ( "#" + where + "_addedit_x_data" ) . show ( ) ;
303- else $ ( "#" + where + "_addedit_x_data" ) . hide ( ) ;
302+ if ( val == "xweeks" || val == "xmonths" || val == "xdays" ) $ ( "#" + where + "_addedit_x_data" ) . removeClass ( 'hidden' ) ;
303+ else $ ( "#" + where + "_addedit_x_data" ) . addClass ( 'hidden' ) ;
304304
305305 //T Weeks
306306 if ( val == "xweeks" ) $ ( "#" + where + "_addedit_x_data_interval" ) . text ( OB . t ( "Weeks" ) ) ;
You can’t perform that action at this time.
0 commit comments