Revision abba66b2
Added by Shlomi Zadok almost 9 years ago
app/assets/javascripts/application.js | ||
---|---|---|
$("#new_lookup_keys_ select").select2('destroy');
|
||
// Interface selects are initiated separately
|
||
$("#interfaces select").select2('destroy');
|
||
// Compute profiles additional nics & volumes are initiated separately
|
||
$(".nics_fields_template select, .volumes_fields_template select").select2('destroy');
|
||
|
||
$('input.remove_form_templates').closest('form').submit(function(event) {
|
||
$(this).find('.form_template').remove()
|
Also available in: Unified diff
fixes #11171 - compute profiles nics & volumes select2 are initiated separately
(cherry picked from commit 052d58199494eb5e1eaac9fdbcac76c2d2bb4fb7)