#12269 widget editor title name widget

This commit is contained in:
Jonathan 2023-10-23 14:56:09 +02:00
parent 1f8554e8d1
commit 4d5917e4b7
2 changed files with 3 additions and 1 deletions

View File

@ -461,12 +461,13 @@ function initialiceLayout(data) {
}
function configurationWidget(cellId, widgetId, size) {
title = $("#hidden-widget_name_" + cellId).val();
load_modal({
target: $("#modal-config-widget"),
form: "form-config-widget",
url: data.url,
modal: {
title: "Configure widget",
title: "Configure widget " + title,
cancel: "Cancel",
ok: "Ok"
},

View File

@ -60,6 +60,7 @@ if ($manageDashboards !== 0 || $writeDashboards !== 0) {
$output .= '</a> ';
$output .= '<a id="configure-widget-'.$cellData['id'].'" class="">';
$output .= html_print_input_hidden('widget_name_'.$cellData['id'], $options['title'], true);
$output .= html_print_image(
'images/configuration@svg.svg',
true,