code/superant.com.rwdtinkerbackwindow/openhelpwindowtinkerwin2.rb in rubyslippers-1.01 vs code/superant.com.rwdtinkerbackwindow/openhelpwindowtinkerwin2.rb in rubyslippers-1.02

- old
+ new

@@ -1,42 +1,42 @@ # this code is to call the help window def runhelpwindowtinkerwin2 - - # $helptopicsarray = $helptopicsarray | [""] - $help_topic = "tinkerwin2_help" - if @rwd_tab == "rwdzipslister" - $help_topic = "tinkerwin2_help" - end - - if @rwd_tab == "filelister" - $help_topic = "applet_viewing" - - end - if @rwd_tab == "zipslister" - $help_topic = "applet_installation" - - end - if @rwd_tab == "editconfigurationfile" - $help_topic = "applet_tinkerbackeditconfiguration" - - end - if @rwd_tab == "rwdremotecontrol" - $help_topic = "remote_control" - - end - if @rwd_tab == "superantcomremotezipsinstall" - $help_topic = "remotegemapplet_install" - end - - - if @rwd_window != "rwdtinkerhelpwindow" - $previouswindow = @rwd_window - $previoustab = @rwd_tab - else - $previouswindow = @rwd_window - $previoustab = @rwd_tab - end - runhelpwindow + # $helptopicsarray = $helptopicsarray | [""] + + $help_topic = "tinkerwin2_help" + if @rwd_tab == "rwdzipslister" + $help_topic = "tinkerwin2_help" + end + + if @rwd_tab == "filelister" + $help_topic = "applet_viewing" + + end + if @rwd_tab == "zipslister" + $help_topic = "applet_installation" + + end + if @rwd_tab == "editconfigurationfile" + $help_topic = "applet_tinkerbackeditconfiguration" + + end + if @rwd_tab == "rwdremotecontrol" + $help_topic = "remote_control" + + end + if @rwd_tab == "superantcomremotezipsinstall" + $help_topic = "remotegemapplet_install" + end + + + if @rwd_window != "rwdtinkerhelpwindow" + $previouswindow = @rwd_window + $previoustab = @rwd_tab + else + $previouswindow = @rwd_window + $previoustab = @rwd_tab + end + runhelpwindow end