mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-21 04:12:37 +09:00
feature #3668: Reinitialize change events
This commit is contained in:
1 parent
cdee2c8f3b
commit
6f8ab0b1cd
1 file changed
+2
@@ -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") {
|
||||
|
||||
Reference in new issue
Block a user