mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 07:44:35 +02:00
Merge branch '1023-module-graph-in-visual-console-with-non-administrator-user-dev' into 'develop'
Added Borja line to fix module graph period in visual console with non-administrator users See merge request !609
This commit is contained in:
commit
9e3fa2d310
@ -510,6 +510,9 @@ function readFields() {
|
|||||||
values['process_simple_value'] = $("select[name=process_value]").val();
|
values['process_simple_value'] = $("select[name=process_value]").val();
|
||||||
values['background'] = $("#background_image").val();
|
values['background'] = $("#background_image").val();
|
||||||
values['period'] = undefined != $("#hidden-period").val() ? $("#hidden-period").val() : $("#period").val();
|
values['period'] = undefined != $("#hidden-period").val() ? $("#hidden-period").val() : $("#period").val();
|
||||||
|
if (values['period'] == null) {
|
||||||
|
values['period'] = undefined != $("#hidden-period").val() ? $("#hidden-period").val() : $("#period_select").val();
|
||||||
|
}
|
||||||
values['width'] = $("input[name=width]").val();
|
values['width'] = $("input[name=width]").val();
|
||||||
values['height'] = $("input[name=height]").val();
|
values['height'] = $("input[name=height]").val();
|
||||||
values['parent'] = $("select[name=parent]").val();
|
values['parent'] = $("select[name=parent]").val();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user