mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
feature #3668: Reinitialize change events
This commit is contained in:
parent
cdee2c8f3b
commit
6f8ab0b1cd
@ -8207,6 +8207,7 @@ function generateValueSelect(opts){
|
||||
str += '</select>';
|
||||
str += '</div>';
|
||||
|
||||
$(document).off("change", ".custom_select_input");
|
||||
$(document).on("change", ".custom_select_input", function(){
|
||||
var select = $(".custom_select", $(this).closest(".custom_select_container"));
|
||||
select.val($(this).val());
|
||||
@ -8216,6 +8217,7 @@ function generateValueSelect(opts){
|
||||
select.change();
|
||||
});
|
||||
|
||||
$(document).off("change", ".custom_select");
|
||||
$(document).on("change", ".custom_select", function(){
|
||||
var container = $(this).closest(".custom_select_container");
|
||||
if ($(this).val() == "custom") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user