From 67ca83bb1d4b73a4e82683e1117ac8a3ed87534a Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Tue, 25 Jun 2013 10:03:15 +0000 Subject: [PATCH] issue #0001636 : Remove debug --- public/themes/default/scripts/motpasse.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/public/themes/default/scripts/motpasse.js b/public/themes/default/scripts/motpasse.js index 5b3ee5f43..9001a64cd 100644 --- a/public/themes/default/scripts/motpasse.js +++ b/public/themes/default/scripts/motpasse.js @@ -2,7 +2,6 @@ function validate() { var allvals = true; $('div#dlg input[required]').each(function() { if(!$(this).val()) { - alert($(this).attr('name')); allvals = false; $(this).addClass('brsr'); } @@ -37,8 +36,7 @@ $('#dlg').dialog({ buttons: [ { text: "Valider", click: function() { var values = $(this).find('form').serialize(); if (validate() && isEmail($('div#dlg input[name=email]'))) { - alert('OK'); - if ($('.loading').css('display')=='none') { + if ($('.loading').css('display')=='none') { $('.loading').css('display', 'block'); $('.ui-dialog-content').css('overflow','hidden'); $(".ui-dialog-buttonpane button:contains('Valider')").button("disable");