Update project limits when using input selector
Look for all changes to instance count to update project limits not just a keyup
event.
(cherry picked from commit bf667644fd
)
Change-Id: Ic5d1d78176d068d483a282020a8da3833b7ad23e
Closes-bug:1369621
This commit is contained in:
parent
be88d144ec
commit
889f9d9000
|
@ -402,12 +402,12 @@ horizon.Quota = {
|
|||
};
|
||||
|
||||
$('#id_flavor').on('keyup change', eventCallback);
|
||||
$('#id_count').on('keyup', eventCallback);
|
||||
$('#id_count').on('input', eventCallback);
|
||||
$('#id_image_id').on('change', imageChangeCallback);
|
||||
}
|
||||
|
||||
$(this.user_value_form_inputs).each(function(index, element) {
|
||||
$(element).on('keyup', function(evt) {
|
||||
$(element).on('input', function(evt) {
|
||||
var progress_element = $('div[data-progress-indicator-for=' + $(evt.target).attr('id') + ']');
|
||||
var integers_in_input = $(evt.target).val().match(/\d+/g);
|
||||
var user_integer;
|
||||
|
|
Loading…
Reference in New Issue