fixed label not showing on page reload in visual console's percentile item

This commit is contained in:
alejandro-campos 2018-11-27 15:25:16 +01:00
parent 89d2f831ba
commit d48c228855
1 changed files with 4 additions and 0 deletions

View File

@ -801,6 +801,10 @@ function readFields() {
values['label'] = $("input[name=label]").val();
var text = tinymce.get('text-label').getContent();
values['label'] = text;
if ($("input[name=percentile_label]").val().length > 0)
values['label'] = $("input[name=percentile_label]").val();
values['line-height'] = $("#text-label_ifr").contents().find("p").css('line-height');
values['type_graph'] = $("select[name=type_graph]").val();
values['image'] = $("select[name=image]").val();