Enable static NAT dialog: Fix search filter not working

This commit is contained in:
Brian Federle 2014-01-27 13:38:02 -08:00
parent 9f18b075a9
commit c4b3e4c0cc
1 changed files with 5 additions and 0 deletions

View File

@ -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