This topic contains 1 reply, has 2 voices, and was last updated by Sean Sean 2 years, 2 months ago.

Problem Ajax | app.ini


  • javi_an88
    Participant

    Posts: 8
    Member Reply #7505

    Hi!

    I’m ajax load it through various contents of the page. Charge first the content and then charge the css and js. My problem is I can not recharge the App.ini file. Everything is loaded correctly (all css and js ), but jumps App.ini me the following error:

    TypeError: $(…).dropdownHover is not a function
    $(this).dropdownHover();

    My code is:

    $(document).ready(function(){

    $.post(‘hola.php’, {}, function(content){

    $(‘#contenedor_mnu_principal’).html(content); // some ajax content samples

    App.initAjax(); // reinitialize some handlers.

    });

    });

    • This topic was modified 2 years, 2 months ago by  javi_an88.
    • This topic was modified 2 years, 2 months ago by  javi_an88.
    • This topic was modified 2 years, 2 months ago by  javi_an88.
    • This topic was modified 2 years, 2 months ago by  javi_an88.
    Sean
    Sean
    Keymaster

    Posts: 4527
    Support Staff Reply #7515

    Hi,

    Thanks for your feedback on this issue. We will fix it in the next update very soon. In the meantime could you please remove “handleDropdownHover()” function call from “initAjax” method in “assets/global/scripts/app.js” ?

    If you need any further clarifications please let us know.

    Thanks.

You must be logged in to reply to this topic.