bug? "double" pathing on jquery-ui css images


  • Anime Lovers

    0_1474032587622_nodebb-jquery-ui-double-path.PNG

    As you can see from the console screenshot above, it try to get the jquery-ui images from the wrong path (double "vendor/jquery/cc/smoothness".

    To reproduce this, add a datepicker input in admin template as follow:

    app.loadJQueryUI(function() {
        $('#inputDate').datepicker({
            defaultDate: '-1d'
        });
    });
    

    What did I possibly did wrong? Because the account's birthday input has no issue.

    Please advise, thanks!


  • Anime Lovers

    I solved the issue using other widget instead of jquery-ui.


Log in to reply
 


Star

Looks like your connection to NodeBB was lost, please wait while we try to reconnect.