issue #0001636 : Remove debug
This commit is contained in:
parent
45f2922bee
commit
67ca83bb1d
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user