mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
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:
parent
8ac23139e8
commit
ace9dd3f6e
12 changed files with 102 additions and 6 deletions
|
|
@ -241,3 +241,17 @@ function completeGetCategoryFromModules(ret_obj, response_tags) {
|
|||
obj.options[obj.options.length] = opt;
|
||||
}
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue