Thanks, Lars, I agree that what is available is enough when it comes to orgunits.
Would be great if the dataset also could be autoselected when there is only one available. Knut On Tue, Feb 18, 2014 at 9:46 AM, Lars Helge Øverland <[email protected]>wrote: > Hi, > > in the ouwt (data entry and org unit module tree) the root of the org unit > hierarchy is automatically selected. So with one org unit that will work as > it is. I think making a feature for hiding the org unit tree is a bit > overkill. You can hide the left panel like you say in javascript like this: > > dhis2.leftBar.hide(); > > Lars > > > > > On Sat, Feb 8, 2014 at 1:13 PM, Knut Staring <[email protected]> wrote: > >> Additionally, I could perhaps make this into a Blueprint which says the >> left hand panel should be collapsed by default and the orgunit autoselected >> when there is only one option available in the tree. >> >> Knut >> >> >> On Sat, Feb 8, 2014 at 1:05 PM, Knut Staring <[email protected]> wrote: >> >>> Hello, >>> >>> Since I have only one orgunit, I would like to hide the left hand >>> hierarchy in Data Entry. Can I easily trigger this to happen automatically >>> when loading a custom form? >>> >>> E.g. on loading the form I could trigger dhis2.leftBar.hideAnimated()? >>> >>> -- >>> Knut Staring >>> Dept. of Informatics, University of Oslo >>> +4791880522 >>> http://dhis2.org >>> >> >> >> >> -- >> Knut Staring >> Dept. of Informatics, University of Oslo >> +4791880522 >> http://dhis2.org >> >> _______________________________________________ >> Mailing list: https://launchpad.net/~dhis2-devs >> Post to : [email protected] >> Unsubscribe : https://launchpad.net/~dhis2-devs >> More help : https://help.launchpad.net/ListHelp >> >> > -- Knut Staring Dept. of Informatics, University of Oslo +4791880522 http://dhis2.org
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp

