Moved password generation to the client #13

Merged
bookercodes merged 18 commits from master into master 2015-08-16 09:25:11 +00:00
2 changed files with 125 additions and 0 deletions
Showing only changes of commit 97fa39d5ea - Show all commits

View File

@ -81,7 +81,7 @@
function outputGeneratedPassword() {
var password = passwordGenerator.generatePassword(getOptions());
if (password === '') {
alert("Whops. You unselected all the options. I don't know what characters you want. Click on the button entitled \"Advanced Options\" and enable some options and thent try again. Nice one");
alert("Whops. You unselected all the options. I don't know what characters you want. Click on the button entitled \"Advanced Options\" and enable some options then try again. Nice one");
return;
}
$("#password-input").val(password);