From fdb6a22549d623042c53da8edc0a071179dfa23b Mon Sep 17 00:00:00 2001 From: peteruithoven Date: Mon, 12 May 2014 16:04:00 +0200 Subject: [PATCH] Only allow connecting when password is set --- js/JoinSecuredNetworkPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/JoinSecuredNetworkPage.js b/js/JoinSecuredNetworkPage.js index ffad9b0..dd63490 100644 --- a/js/JoinSecuredNetworkPage.js +++ b/js/JoinSecuredNetworkPage.js @@ -47,7 +47,7 @@ console.log("JoinSecuredNetworkPage:submit"); // ToDo: validation // http://www.raymondcamden.com/index.cfm/2012/7/30/Example-of-form-validation-in-a-jQuery-Mobile-Application - + if(_passwordField.val().length === 0) { return false; } var submitLink = _form.data("target"); submitLink = d3d.util.replaceURLParameters(submitLink,_pageData); $.mobile.changePage(submitLink);