mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
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:
commit
6a904f4e59
@ -458,12 +458,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"
|
||||||
},
|
},
|
||||||
|
@ -64,6 +64,8 @@ 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="">';
|
||||||
|
$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(
|
$output .= html_print_image(
|
||||||
'images/configuration@svg.svg',
|
'images/configuration@svg.svg',
|
||||||
true,
|
true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user