mirror of https://github.com/apache/cloudstack.git
Enable static NAT dialog: Fix search filter not working
This commit is contained in:
parent
9f18b075a9
commit
c4b3e4c0cc
|
|
@ -2382,6 +2382,7 @@
|
|||
|
||||
listView: $.extend(true, {}, cloudStack.sections.instances, {
|
||||
listView: {
|
||||
advSearchFields: null, // Not supported in dialogs right now due to display issues
|
||||
filters: false,
|
||||
subselect: {
|
||||
label: 'label.use.vm.ip',
|
||||
|
|
@ -2394,6 +2395,10 @@
|
|||
listAll: true
|
||||
};
|
||||
|
||||
if (args.filterBy.search.value) {
|
||||
data.name = args.filterBy.search.value;
|
||||
}
|
||||
|
||||
var $tierSelect = $(".ui-dialog-content").find('.tier-select select');
|
||||
|
||||
// if $tierSelect is not initialized, return; tierSelect() will refresh listView and come back here later
|
||||
|
|
|
|||
Loading…
Reference in New Issue