Skip to content

When editing HRULE and VRULE items, color selector was not presented #3232

Description

@frontierliu

Version: Cacti 1.2.8, 1.2.9

When I edit graph template's item of HRULE or VRULE , I can change its color in item_edit page as below:
QQ图片20200205104857

But When I edit graph's item of HRULE or VRULE, the color selector dispears in item_edit page, and I think it is unreasonable, as below:
QQ截图20200205104700

HRULE and VRULE edit page should keep color option selector and other options in graph, as graph_template do.

how to resolv:
in graphs_items.php
line 601: $('#row_color_id').hide(); change to : $('#row_color_id').show();
line 613: $('#row_text_format').hide(); change to : $('#row_text_format').show();
line 618: $('#row_color_id').hide(); change to : $('#row_color_id').show();
line 630: $('#row_text_format').hide(); change to: $('#row_text_format').show();

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions