test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • kurtsteiner Friend
    #136554

    Hello,
    i running JA Edenite on J1.0.15 and try to prepare the migration to J1.5.8

    First issue i found on J1.5 is this Error:

    <blockquote>ja.script.js (Linie 67)</blockquote>

    $("ja-botsl") is null
    http://sit.movegreen.de/templates/ja_edenite/js/ja.script.js

    Line 67

    makeEqualHeight ($('ja-botsl').getChildren());

    Any suggestions are wellcome

    Anonymous Moderator
    #284201

    Hi kurtsteiner,

    This errors displays when you remove ja-botsl div.
    I have checked your website and saw that you changed our template. You removed this div.
    To hidden this error, please open file ja.script.js, at about line 87, find following script:


    makeEqualHeight ($('ja-botsl').getChildren());
    makeEqualHeight ($$(['ja-content','ja-col1-bot','ja-col2']));

    and change to:

    if($chk($('ja-botsl'))) {
    makeEqualHeight ($('ja-botsl').getChildren());
    makeEqualHeight ($$(['ja-content','ja-col1-bot','ja-col2']));
    }

    kurtsteiner Friend
    #284207

    <em>@JA Developer 97072 wrote:</em><blockquote>Hi kurtsteiner,

    This errors displays when you remove ja-botsl div.
    I have checked your website and saw that you changed our template. You removed this div.
    To hidden this error, please open file ja.script.js, at about line 87, find following script:
    </blockquote>

    Hello,
    many thanks for your support.
    on sit.moveGreen.de i had not changed the template yet – its a fresh installation – but on my productive site moveGreen.de i had severall issues before.

    Nevertheless, this is a new start and your suggestion fixes this issue for me, many thanks and have a nice day !:-*

    adriantarau Friend
    #284633

    I have the same problem.

    The reason why it happens is because if there is nothing in user1′,’user2′,’user5′,’user6′,’user7′,’user8 the div is not created.

    <?php
    $spotlight = array (‘user1′,’user2′,’user5′,’user6′,’user7′,’user8’);
    $botsl = $tmpTools->calSpotlight ($spotlight,$tmpTools->isOP()?100:99.9);
    if( $botsl ) {
    ?>
    <!– BEGIN: BOTTOM SPOTLIGHT –>
    <div id=”ja-botsl” class=”clearfix”>
    …….
    </div>
    <!– END: BOTTOM SPOTLIGHT –>
    <?php } ?>

    Indeed this fix works fine :

    function equalHeight(){
    if($chk($(‘ja-botsl’))) {
    makeEqualHeight ($(‘ja-botsl’).getChildren());
    }
    makeEqualHeight ($$([‘ja-content’,’ja-col1-bot’,’ja-col2′]));
    }

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

This topic contains 4 replies, has 3 voices, and was last updated by  adriantarau 15 years, 11 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum