mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Merge branch 'ent-8832-grafico-modulo-periodo-mal' into 'develop'
Fix issue with period selector See merge request artica/pandorafms!4834
This commit is contained in:
commit
f7a67cadca
@ -1040,7 +1040,7 @@ function adjustTextUnits(name) {
|
||||
"selected",
|
||||
true
|
||||
);
|
||||
$("#" + name + "_units").trigger("change");
|
||||
|
||||
$("#text-" + name + "_text").val(restPrev);
|
||||
unitsSelected = true;
|
||||
}
|
||||
@ -1049,9 +1049,7 @@ 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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user