mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01:00
new advanced search - check advanced search is shown/hidden, then search with/without input fields in advanced search.
This commit is contained in:
parent
beffe26460
commit
38aa405ba4
@ -24,8 +24,8 @@ function eventGetSearchParams() {
|
||||
moreCriteria.push("&keyword="+todb(searchInput));
|
||||
}
|
||||
|
||||
var $advancedSearchPopup = $("#advanced_search_popup");
|
||||
if (lastSearchType == "advanced_search" && $advancedSearchPopup.length > 0) {
|
||||
var $advancedSearchPopup = $("#advanced_search_container").find("#advanced_search_popup");
|
||||
if ($advancedSearchPopup.length > 0 && $advancedSearchPopup.css("display") != "none" ) {
|
||||
var type = $advancedSearchPopup.find("#adv_search_type").val();
|
||||
if (type!=null && trim(type).length > 0)
|
||||
moreCriteria.push("&type="+todb(type));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user