Commit 84c38002 by Kim Eunchul

#40458 【TECSS(Biz) webviewer 1.9】一覧画面とコンテンツビューアでの本文検索結果が一致しない

parent 2e19e14d
...@@ -1135,8 +1135,7 @@ CONTENTSEARCH.searchEventButtonFunction = function() { ...@@ -1135,8 +1135,7 @@ CONTENTSEARCH.searchEventButtonFunction = function() {
} }
}catch(error){ }catch(error){
alert('正しくない検索です'); searchText = "invaildsearchtextzeroresultfound";
return;
} }
} }
......
...@@ -834,8 +834,7 @@ CONTENTVIEW.searchHandle = function() { ...@@ -834,8 +834,7 @@ CONTENTVIEW.searchHandle = function() {
} }
}catch(error){ }catch(error){
alert('正しくない検索です'); searchText = "invaildsearchtextzeroresultfound";
return;
} }
if(count > 5){ if(count > 5){
......
...@@ -360,11 +360,26 @@ HEADER.searchHeaderButtonFunction = function(){ ...@@ -360,11 +360,26 @@ HEADER.searchHeaderButtonFunction = function(){
} }
}catch(error){ }catch(error){
alert('正しくない検索です'); if(content == 'checked')
return; {
searchDivision = $('#searchbox-content').val();
} }
if(tag == 'checked')
{
searchDivision = $('#searchbox-tag').val();
} }
if(body == 'checked')
{
searchDivision = $('#searchbox-body').val();
}
ClientData.searchCond_searchText("invaildsearchtextzeroresultfound");
ClientData.searchCond_searchDivision(searchDivision);
//window.location = COMMON.ScreenIds.ContentSearch;
AVWEB.avwScreenMove(COMMON.ScreenIds.ContentSearch);
}
}
if(count > 5){ if(count > 5){
alert('語句数は最大5つです'); alert('語句数は最大5つです');
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment