diff --git a/pandora_console/include/javascript/pandora.js b/pandora_console/include/javascript/pandora.js index bde3c583f0..677b507285 100644 --- a/pandora_console/include/javascript/pandora.js +++ b/pandora_console/include/javascript/pandora.js @@ -1040,6 +1040,7 @@ function adjustTextUnits(name) { "selected", true ); + $("#" + name + "_units").trigger("change"); $("#text-" + name + "_text").val(restPrev); unitsSelected = true; } @@ -1048,7 +1049,9 @@ function adjustTextUnits(name) { }); if (unitsSelected == false) { + //$("#" + name + "_units option:last").prop("selected", true); $("#" + name + "_units option:last").prop("selected", true); + $("#" + name + "_units").trigger("change"); $("#text-" + name + "_text").val(restPrev); }