Just placed the modified ouwt.js file inside our app. Thanks!
Regards harsh On 15 July 2015 at 12:04, Harsh Atal <[email protected]> wrote: > Hi > > We are making a dhis2 App and have used the "ouwt.js" library for > displaying the ou tree inside of our app. But for this a little change had > to be made in the ouwt.js file. This is the change(marked in red):- > > . > . > 18 if (dhis2BaseUrl == undefined){ > 19 var dhis2BaseUrl = ".."; > 20 } > 21 var organisationUnitTreePath = dhis2BaseUrl + "/dhis-web-commons/ouwt/"; > . > . > > Then inside our app we change the context by initializing dhis2BaseUrl > = "../../../" so that the ajax call gets the right path. > > Please consider this change. > > Thank You > harsh > > >
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp

