summaryrefslogtreecommitdiff
path: root/horizon/static/horizon/js/horizon.forms.js
diff options
context:
space:
mode:
Diffstat (limited to 'horizon/static/horizon/js/horizon.forms.js')
-rw-r--r--horizon/static/horizon/js/horizon.forms.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/horizon/static/horizon/js/horizon.forms.js b/horizon/static/horizon/js/horizon.forms.js
index 27a7e9bd6..832ea439f 100644
--- a/horizon/static/horizon/js/horizon.forms.js
+++ b/horizon/static/horizon/js/horizon.forms.js
@@ -279,7 +279,7 @@ horizon.forms.init_themable_select = function ($elem) {
// Set the select if necessary
if ($select.val() !== value) {
- $select.val(value).change();
+ $select.val(value).trigger("change");
}
});
@@ -318,7 +318,7 @@ horizon.forms.init_themable_select = function ($elem) {
}
// Add the new list to the dropdown.
- $select.siblings('.dropdown-menu').html(list).change();
+ $select.siblings('.dropdown-menu').html(list).trigger("change");
$select.trigger('change');
});