mirror of
https://github.com/Doodle3D/doodle3d-connect.git
synced 2024-12-25 18:13:48 +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