|
|
|
@ -486,22 +486,19 @@ $("#btnFastSearch--top").on( "click", function() {
|
|
|
|
|
$("#fastTerm--top").onEnterPress(fnGlobalFastSearch);
|
|
|
|
|
|
|
|
|
|
function fnGlobalFastSearch(){
|
|
|
|
|
var integrationSearchMenuNum = "17";
|
|
|
|
|
|
|
|
|
|
var url = $("#menus").find("li[data-key='"+integrationSearchMenuNum+"'] a").attr("onclick").split("'")[1];
|
|
|
|
|
if(mainTabs.getDataset().find(i => i.id == integrationSearchMenuNum) != null){
|
|
|
|
|
mainTabs.close(url);
|
|
|
|
|
|
|
|
|
|
var integrationSearchUrl = wctx.url("/sprt/sprt01/010/main.do");
|
|
|
|
|
if(mainTabs.getDataset().find(i => i.url == integrationSearchUrl) != null){
|
|
|
|
|
mainTabs.close(integrationSearchUrl);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var itegrationSearchMenu = $("#menus").find("li[data-key='"+integrationSearchMenuNum+"'] a")[0];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if($("#fastTerm--top").val() != ""){
|
|
|
|
|
var fastTerm = $("#fastTerm--top").val();
|
|
|
|
|
var fastBy = $("#fastBy--top").val();
|
|
|
|
|
|
|
|
|
|
openMenu(url+"?fastBy="+fastBy+"&fastTerm="+fastTerm);
|
|
|
|
|
openMenu(integrationSearchUrl+"?fastBy="+fastBy+"&fastTerm="+fastTerm);
|
|
|
|
|
} else {
|
|
|
|
|
openMenu(url);
|
|
|
|
|
openMenu(integrationSearchUrl);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|