cloudstack UI - advanced search - volume page - add domain dropdown, account field.

This commit is contained in:
Jessica Wang 2012-10-02 11:18:11 -07:00
parent 6266fcb8f7
commit 71355c1941
1 changed files with 25 additions and 0 deletions

View File

@ -73,7 +73,32 @@
}
});
}
},
domainid: {
label: 'Domain',
select: function(args) {
$.ajax({
url: createURL('listDomains'),
data: {
listAll: true,
details: 'min'
},
success: function(json) {
args.response.success({
data: $.map(json.listdomainsresponse.domain, function(domain) {
return {
id: domain.id,
description: domain.path
};
})
});
}
});
}
},
account: { label: 'Account' },
tagKey: { label: 'Tag Key' },
tagValue: { label: 'Tag Value' }
},