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