diff --git a/lib/assets/javascripts/utils/validate.js b/lib/assets/javascripts/utils/validate.js index 55af11c..914f84a 100644 --- a/lib/assets/javascripts/utils/validate.js +++ b/lib/assets/javascripts/utils/validate.js @@ -6,7 +6,6 @@ @return true if it has a length greater than zero; otherwise, false. */ ctx.required = ctx.required || (function(value){ -console.log("required: "+value); if(Object.prototype.toString.call(value) === '[object String]') return value.trim().length > 0; return false; diff --git a/lib/assets/javascripts/views/devise/devise.js b/lib/assets/javascripts/views/devise/devise.js index 2b5c775..911d725 100644 --- a/lib/assets/javascripts/views/devise/devise.js +++ b/lib/assets/javascripts/views/devise/devise.js @@ -5,8 +5,8 @@ dmproadmap.utils.ariatiseForm.init({ selector: '#invitation_create_account' }); $("[type='submit']").click(function(e){ - // We have to specifically include the form name in the selectors here in case there are multiple - // devise forms (e.g. sign-in modal and the forgot password forms) + // We have to specifically include the form name in the selectors here in case there + // are multiple devise forms (e.g. sign-in modal and the forgot password forms) var frm = $(this).closest('form').attr('id'), pwd = $("#"+frm+" #user_password"), cnf = $("#"+frm+" #user_password_confirmation");