the javascript variable 'title' wasn't initialized

This commit is contained in:
doxulting 2005-03-07 15:19:26 +00:00
parent 4a8159b457
commit cd6ffcb59e

View file

@ -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;