Hi devs, I've been working to have the orgUnit tree working on a custom app, but I've seen that on the first line of code that the dhis2 base URL is defined as: var dhis2BaseUrl = ".."; Could this be changed to var dhis2BaseUrl = dhis2.settings.baseUrl; ? Right now I have to change the code of the ouwt.js file if I want the images to load correctly and with every dhis2 update it would need maintenance to keep it working correctly, using that variable I believe that everything should work correctly and it would be available to any user using the code snippet provided in the documentation: <script> window.dhis2 = window.dhis2 || {}; dhis2.settings = dhis2.settings || {}; dhis2.settings.baseUrl = ''; </script> Something similar happens with the "treeview-gray-line.gif", but I couldn't find where this image is requested as it seems to use another baseUrl. I'm looking forward to hearing from you Have a nice day Eric
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp