From 8655fd5ffffdc8845d1a92192f325d50a22a8f38 Mon Sep 17 00:00:00 2001 From: nagoon97 Date: Wed, 2 Jan 2013 04:59:30 +0000 Subject: [PATCH] Remove "required" attribute and related js code from search field git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12499 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/comment/tpl/comment_list.html | 2 +- modules/comment/tpl/js/comment_admin.js | 2 ++ modules/document/tpl/document_list.html | 2 +- modules/file/tpl/file_list.html | 2 +- modules/file/tpl/js/file_admin.js | 2 ++ modules/member/tpl/member_list.html | 2 +- modules/module/tpl/multilingual_v17_list.html | 2 +- modules/poll/tpl/poll_list.html | 2 +- modules/trackback/tpl/trackback_list.html | 2 +- 9 files changed, 11 insertions(+), 7 deletions(-) diff --git a/modules/comment/tpl/comment_list.html b/modules/comment/tpl/comment_list.html index 4d9021e2e..e6ec898ae 100644 --- a/modules/comment/tpl/comment_list.html +++ b/modules/comment/tpl/comment_list.html @@ -120,7 +120,7 @@ xe.lang.msg_empty_search_keyword = '{$lang->msg_empty_search_keyword}'; - + diff --git a/modules/comment/tpl/js/comment_admin.js b/modules/comment/tpl/js/comment_admin.js index d92569afb..18ed18b14 100644 --- a/modules/comment/tpl/js/comment_admin.js +++ b/modules/comment/tpl/js/comment_admin.js @@ -83,9 +83,11 @@ function checkSearch(form) alert(xe.lang.msg_empty_search_target); return false; } + /* if(form.search_keyword.value == '') { alert(xe.lang.msg_empty_search_keyword); return false; } + */ } diff --git a/modules/document/tpl/document_list.html b/modules/document/tpl/document_list.html index 3842e9cb6..6d7ab5418 100644 --- a/modules/document/tpl/document_list.html +++ b/modules/document/tpl/document_list.html @@ -115,7 +115,7 @@ xe.lang.msg_empty_search_keyword = '{$lang->msg_empty_search_keyword}'; - + diff --git a/modules/file/tpl/file_list.html b/modules/file/tpl/file_list.html index efa72edda..c539afe11 100644 --- a/modules/file/tpl/file_list.html +++ b/modules/file/tpl/file_list.html @@ -147,7 +147,7 @@ xe.lang.msg_empty_search_keyword = '{$lang->msg_empty_search_keyword}'; - + {$lang->cmd_cancel} diff --git a/modules/file/tpl/js/file_admin.js b/modules/file/tpl/js/file_admin.js index 54c5eba91..4fe392b97 100644 --- a/modules/file/tpl/js/file_admin.js +++ b/modules/file/tpl/js/file_admin.js @@ -51,9 +51,11 @@ function checkSearch(form) alert(xe.lang.msg_empty_search_target); return false; } + /* if(form.search_keyword.value == '') { alert(xe.lang.msg_empty_search_keyword); return false; } + */ } diff --git a/modules/member/tpl/member_list.html b/modules/member/tpl/member_list.html index f4671934e..bf76a2168 100644 --- a/modules/member/tpl/member_list.html +++ b/modules/member/tpl/member_list.html @@ -123,7 +123,7 @@ {@$lang->search_target_list = array_merge($lang->search_target_list, $usedIdentifiers)} - + {$lang->cmd_cancel} diff --git a/modules/module/tpl/multilingual_v17_list.html b/modules/module/tpl/multilingual_v17_list.html index 7ebf1db01..7f46f2c4b 100644 --- a/modules/module/tpl/multilingual_v17_list.html +++ b/modules/module/tpl/multilingual_v17_list.html @@ -59,7 +59,7 @@ - + diff --git a/modules/poll/tpl/poll_list.html b/modules/poll/tpl/poll_list.html index fb0997da3..f141dd2ed 100644 --- a/modules/poll/tpl/poll_list.html +++ b/modules/poll/tpl/poll_list.html @@ -100,7 +100,7 @@ xe.lang.confirm_poll_delete = '{$lang->confirm_poll_delete}'; - + {$lang->cmd_cancel} diff --git a/modules/trackback/tpl/trackback_list.html b/modules/trackback/tpl/trackback_list.html index d0edcc47c..dc829dbe1 100644 --- a/modules/trackback/tpl/trackback_list.html +++ b/modules/trackback/tpl/trackback_list.html @@ -90,7 +90,7 @@ xe.lang.msg_empty_search_keyword = '{$lang->msg_empty_search_keyword}'; - + {$lang->cmd_cancel}