mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
#12269 widget editor title name widget
This commit is contained in:
parent
1f8554e8d1
commit
4d5917e4b7
@ -461,12 +461,13 @@ function initialiceLayout(data) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function configurationWidget(cellId, widgetId, size) {
|
function configurationWidget(cellId, widgetId, size) {
|
||||||
|
title = $("#hidden-widget_name_" + cellId).val();
|
||||||
load_modal({
|
load_modal({
|
||||||
target: $("#modal-config-widget"),
|
target: $("#modal-config-widget"),
|
||||||
form: "form-config-widget",
|
form: "form-config-widget",
|
||||||
url: data.url,
|
url: data.url,
|
||||||
modal: {
|
modal: {
|
||||||
title: "Configure widget",
|
title: "Configure widget " + title,
|
||||||
cancel: "Cancel",
|
cancel: "Cancel",
|
||||||
ok: "Ok"
|
ok: "Ok"
|
||||||
},
|
},
|
||||||
|
@ -60,6 +60,7 @@ if ($manageDashboards !== 0 || $writeDashboards !== 0) {
|
|||||||
$output .= '</a> ';
|
$output .= '</a> ';
|
||||||
|
|
||||||
$output .= '<a id="configure-widget-'.$cellData['id'].'" class="">';
|
$output .= '<a id="configure-widget-'.$cellData['id'].'" class="">';
|
||||||
|
$output .= html_print_input_hidden('widget_name_'.$cellData['id'], $options['title'], true);
|
||||||
$output .= html_print_image(
|
$output .= html_print_image(
|
||||||
'images/configuration@svg.svg',
|
'images/configuration@svg.svg',
|
||||||
true,
|
true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user