Merge branch 'ent-12269-el-editor-de-widgets-no-me-dice-que-tipo-de-widget-estoy-editando' into 'develop'

Ent 12269 el editor de widgets no me dice que tipo de widget estoy editando

See merge request artica/pandorafms!6590
This commit is contained in:
Rafael Ameijeiras 2023-12-19 14:59:13 +00:00
commit 6a904f4e59
2 changed files with 4 additions and 1 deletions

View File

@ -458,12 +458,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

@ -64,6 +64,8 @@ if ($manageDashboards !== 0 || $writeDashboards !== 0) {
$output .= '</a> ';
$output .= '<a id="configure-widget-'.$cellData['id'].'" class="">';
$widget_description = db_get_value_sql('SELECT description FROM twidget WHERE id ='.$cellData['id_widget']);
$output .= html_print_input_hidden('widget_name_'.$cellData['id'], $widget_description, true);
$output .= html_print_image(
'images/configuration@svg.svg',
true,