mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Fix issue with period selector
This commit is contained in:
parent
f36a89d41d
commit
3cd116f88b
@ -1040,7 +1040,7 @@ function adjustTextUnits(name) {
|
|||||||
"selected",
|
"selected",
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
$("#" + name + "_units").trigger("change");
|
|
||||||
$("#text-" + name + "_text").val(restPrev);
|
$("#text-" + name + "_text").val(restPrev);
|
||||||
unitsSelected = true;
|
unitsSelected = true;
|
||||||
}
|
}
|
||||||
@ -1049,9 +1049,7 @@ function adjustTextUnits(name) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (unitsSelected == false) {
|
if (unitsSelected == false) {
|
||||||
//$("#" + name + "_units option:last").prop("selected", true);
|
|
||||||
$("#" + name + "_units option:last").prop("selected", true);
|
$("#" + name + "_units option:last").prop("selected", true);
|
||||||
$("#" + name + "_units").trigger("change");
|
|
||||||
$("#text-" + name + "_text").val(restPrev);
|
$("#text-" + name + "_text").val(restPrev);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user