From 5973ec75455fc3989d125dc76086765e85deb330 Mon Sep 17 00:00:00 2001 From: Daniel Maya Date: Fri, 11 Aug 2017 11:48:25 +0200 Subject: [PATCH] fixed errors in visual console on simple value 2 --- .../reporting/visual_console_builder.editor.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pandora_console/godmode/reporting/visual_console_builder.editor.js b/pandora_console/godmode/reporting/visual_console_builder.editor.js index 00d86be5a1..3cea48be21 100755 --- a/pandora_console/godmode/reporting/visual_console_builder.editor.js +++ b/pandora_console/godmode/reporting/visual_console_builder.editor.js @@ -405,12 +405,12 @@ function update_button_palette_callback() { break; case 'simple_value': //checkpoint - if(($('#text-label_ifr').contents().find('#tinymce p').html() == '_VALUE_' || - $('#text-label_ifr').contents().find('#tinymce').html() == '_VALUE_') - && $('#data_image_check').html() != 'On'){ - alert('_VALUE_ exactly value is only enable for data image. Please change label text or select a data image module.'); - return; - } + // if(($('#text-label_ifr').contents().find('#tinymce p').html() == '_VALUE_' || + // $('#text-label_ifr').contents().find('#tinymce').html() == '_VALUE_') + // && $('#data_image_check').html() != 'On'){ + // alert('_VALUE_ exactly value is only enable for data image. Please change label text or select a data image module.'); + // return; + // } $("#" + idItem).html(values['label']); if( (values['label'].replace( /<.*?>/g, '' ) != '_VALUE_') && (values['label'].replace( /<.*?>/g, '' ) != '(_VALUE_)') ){