mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
#10324 added limit in modal title
This commit is contained in:
parent
08fb4e3396
commit
8a33756e3a
@ -848,6 +848,10 @@ function favMenuAction(e) {
|
|||||||
text: "Confirm",
|
text: "Confirm",
|
||||||
click: function() {
|
click: function() {
|
||||||
data.label = $("#text-label_fav_menu").val();
|
data.label = $("#text-label_fav_menu").val();
|
||||||
|
if (data.label.length > 18) {
|
||||||
|
data.label = data.label.slice(0, 18) + "...";
|
||||||
|
}
|
||||||
|
|
||||||
$(e).val(btoa(JSON.stringify(data)));
|
$(e).val(btoa(JSON.stringify(data)));
|
||||||
favMenuAction(e);
|
favMenuAction(e);
|
||||||
$(this).dialog("close");
|
$(this).dialog("close");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user