the javascript variable 'title' wasn't initialized
This commit is contained in:
parent
4a8159b457
commit
cd6ffcb59e
1 changed files with 2 additions and 1 deletions
|
@ -51,7 +51,8 @@ function messenger(X,Y,etc){
|
|||
}
|
||||
|
||||
function check(f) {
|
||||
quantity=f.quantity.value
|
||||
quantity=f.quantity.value;
|
||||
title=f.quantity.value;
|
||||
if (title == "") {
|
||||
alert("Title can't be empty");
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue