Advertisement
xandr91

QWIKIA 1.0.1 - fix account restore error

Feb 18th, 2016
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. media/js/scripts.js
  2. Replace:
  3. function checkLoginForm(){ /* used */
  4. if(!$("#username").val()){
  5. $("#username").addClass("highlightRed").focus();
  6. ok = false;
  7. }
  8. else {
  9. if(!$("#password").val()){
  10. $("#password").addClass("highlightRed").focus();
  11. ok = false;
  12. }
  13. else {
  14. var ok = true;
  15. }
  16. }
  17. return ok;
  18. }
  19. to:
  20. function checkLoginForm(){
  21. return true;
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement