Is there a way to remove the javascript warning on the reboot page?


  • On 2.3, it's a 4 step process to reboot the router.

    I have to click diagnostics then I have to click reboot.

    Then I have to click reboot on the reboot page.

    Then a warning pops up saying are you sure you want to reboot and I have to click that.

    Why did they implement this? Is there really enough people that missclick that many times that they needed to make it a 4 step process?

    Any way to get rid of that last warning message asking if I want to reboot since I'm positive that I want to reboot since I clicked 3 times to get to that page?


  • How frequently do you reboot that that is any big deal?

    If it really is a big deal for you perhaps you could customize the code not to prompt.  Maybe even commit it to the project for inclusion if it is a big deal for many others too.

  • Rebel Alliance Developer Netgate

    It's entirely possible to navigate there by accident (meaning to hit Routes, for example), so those clicks don't count.

    Rebooting should be infrequent and unneccessary, and an extra warning is warranted. There is always a chance that button was clicked accidentally, so while you perceive it as an extra unnecessary step, it's likely to have saved many more people from an unneeded accidental reboot.

    Better to err on the side of caution. Just be glad it doesn't make you check a checkbox first and then click a button.  ;D

  • LAYER 8 Global Moderator

    "Just be glad it doesn't make you check a checkbox first and then click a button"

    This is for sure a requirement in the next update ;)  And a CAPTCHA box that I have to put in some code as well!!!

    Can never be too safe!! ;)

  • Rebel Alliance Developer Netgate

    @johnpoz:

    "Just be glad it doesn't make you check a checkbox first and then click a button"

    This is for sure a requirement in the next update ;)  And a CAPTCHA box that I have to put in some code as well!!!

    Can never be too safe!! ;)

    And not one of the nice "I am not a robot" ones, but one of the ones with really scrambled fonts that even most humans can't read.

  • LAYER 8 Global Moderator

    With audio button that says it with a REALLY bad accent.. In some language other than what the default system is installed on..


  • As log as it's not a reCAPTCHA.  I don't like working for free and I'm against child labor too.