issue 160 search input value check

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9196 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-09-19 06:43:41 +00:00
parent 8ac23139e8
commit ace9dd3f6e
12 changed files with 102 additions and 6 deletions

View file

@ -98,3 +98,17 @@ function completeGetPollList(ret_obj, response_tags)
}
jQuery('#pollManageListTable>tbody').html(htmlListBuffer);
}
function checkSearch(form)
{
if(form.search_target.value == '')
{
alert(xe.lang.msg_empty_search_target);
return false;
}
if(form.search_keyword.value == '')
{
alert(xe.lang.msg_empty_search_keyword);
return false;
}
}