mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 09:15:15 +02:00
fixed errors in visual console on simple value 2
This commit is contained in:
parent
9760a7b7fe
commit
5973ec7545
@ -405,12 +405,12 @@ function update_button_palette_callback() {
|
|||||||
break;
|
break;
|
||||||
case 'simple_value':
|
case 'simple_value':
|
||||||
//checkpoint
|
//checkpoint
|
||||||
if(($('#text-label_ifr').contents().find('#tinymce p').html() == '_VALUE_' ||
|
// if(($('#text-label_ifr').contents().find('#tinymce p').html() == '_VALUE_' ||
|
||||||
$('#text-label_ifr').contents().find('#tinymce').html() == '_VALUE_')
|
// $('#text-label_ifr').contents().find('#tinymce').html() == '_VALUE_')
|
||||||
&& $('#data_image_check').html() != 'On'){
|
// && $('#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.');
|
// alert('_VALUE_ exactly value is only enable for data image. Please change label text or select a data image module.');
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
$("#" + idItem).html(values['label']);
|
$("#" + idItem).html(values['label']);
|
||||||
if( (values['label'].replace( /<.*?>/g, '' ) != '_VALUE_')
|
if( (values['label'].replace( /<.*?>/g, '' ) != '_VALUE_')
|
||||||
&& (values['label'].replace( /<.*?>/g, '' ) != '(_VALUE_)') ){
|
&& (values['label'].replace( /<.*?>/g, '' ) != '(_VALUE_)') ){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user