0
0
mirror of https://github.com/Doodle3D/doodle3d-connect.git synced 2024-11-05 07:03:24 +01:00

Only allow connecting when password is set

This commit is contained in:
peteruithoven 2014-05-12 16:04:00 +02:00
parent 427b8f309d
commit fdb6a22549

View File

@ -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);