tonyp7 / esp32-wifi-manager

Captive Portal for ESP32 that can connect to a saved wireless network or start an access point where you can connect to existing wifis.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Manual connection issue

MoustachedBird opened this issue · comments

When I try to use a Manual Connection (Hidden SSID) it has a problem when I click "JOIN" button nothing happens... Any Idea?

Thank you :)

Sorry, it think I already solved it (i guess...), the problem seemed to be this section in the code.js file


  gel("cancel").addEventListener("click", cancel, false);

  gel("manual_cancel").addEventListener("click", cancel, false);

  gel("join").addEventListener("click", performConnect, false);

  gel("manual_join").addEventListener(
    "click",
    (e) => {
      performConnect(e.data("connect"));
    },
    false
  );

I only changed manual section by

 gel("manual_join").addEventListener(
    "click",
    (e) => {
      performConnect("manual");
    },
    false
  );

I fixed a few bugs due to rewriting code.js and ditching jquery. Hopefully this is the last one. Good catch @MoustachedBird