Charts knob icon does not add to page section.

Home Forums Jomelle WordPress Theme Charts knob icon does not add to page section.

This topic contains 6 replies, has 3 voices, and was last updated by  ab-themes 8 years ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #16268

    mattbttm
    Participant

    When I want to add charts Knob icon on page section, it does not add and give a javascript error. For more see attached file.

    Please solve this, it is very urgent for me.

    Thanks.

    #16306

    ab-themes
    Keymaster

    Hi,

    thank you for pointing out to this problem, we find solution :)

    Please open your admin.js file
    (you can find it here \jomelle\wp-content\plugins\the-creator-vpb\admin\js\admin.js)

    on line 1049, there you can find this code:

    if(attribute.default!==undefined){
         set_value = attribute.default;
    }
    if(value!==undefined){
        set_value = value;
    }
    set_value = set_value.replace(/\*quot\*/g,'"');

    Replace that code with this:

    if(attribute.default!==undefined) set_value = attribute.default;
    
    if(value!==undefined) set_value = value;
    
    if (set_value) set_value = set_value.replace(/\*quot\*/g,'"');

    Now everything will work fine :)

    Cheers

    #16337

    mattbttm
    Participant

    Thanks, Now it working perfectly.

    #16346

    ab-themes
    Keymaster

    Great, glad to hear that :)

    Cheers

    #16393

    loewenbiss
    Participant

    The same error when I add a “Portfolio” – can you fix it too?

    #16394

    loewenbiss
    Participant

    “Testimonials Slider”, “AB Tweet Scroller” also!

    #16401

    ab-themes
    Keymaster

    Hi,

    in your admin.js on line 1053 you have

    if (set_value) set_value = set_value.replace(/\*quot\*/g,'"');

    Try replacing it with this code:

    if (typeof set_value === 'string') set_value = set_value.replace(/\*quot\*/g,'"');

    It should work fine for all elements.

    Cheers :)

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘Charts knob icon does not add to page section.’ is closed to new replies.