PHRAS-187 #fix push name validation

This commit is contained in:
Nicolas Le Goff
2014-07-23 19:21:13 +02:00
parent c8c10f2776
commit 12ae2c8245

View File

@@ -149,13 +149,13 @@
buttons[language.send] = function () {
if ($.trim($('input[name="name"]', $dialog.getDomElement()).val()) === '') {
options = {
var options = {
size: 'Alert',
closeButton: true,
title: language.warning
},
$dialog = p4.Dialog.Create(options, 3);
$dialog.setContent(language.FeedBackNameMandatory);
}
var $dialogAlert = p4.Dialog.Create(options, 3);
$dialogAlert.setContent(language.FeedBackNameMandatory);
return false;
}