Bug when adding a empty note
This commit is contained in:
parent
39efc6e919
commit
3b9ce4ce2c
2 changed files with 29 additions and 8 deletions
|
|
@ -133,6 +133,10 @@ function todo_list_save(p_form)
|
|||
var rec = req.responseText;
|
||||
alert_box('erreur :' + rec);
|
||||
}
|
||||
if ( getNodeText(tl_id[0]) == '0') {
|
||||
smoke.alert('Note est vide');
|
||||
return;
|
||||
}
|
||||
var tr = $('tr'+p_form);
|
||||
if ( p_form == 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue