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:
parent
427b8f309d
commit
fdb6a22549
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user