mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 09:15:15 +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",
|
||||
click: function() {
|
||||
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)));
|
||||
favMenuAction(e);
|
||||
$(this).dialog("close");
|
||||
|
Loading…
x
Reference in New Issue
Block a user