Repairs egOrgSelector.
Angular-ui-bootstrap as of version ~0.11.2 does not want bare
"dropdown-toggle" attributes within action link tags. When present,
they prevent the dropdown button from opening.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
+ '</button>'
+ '<ul class="dropdown-menu">'
+ '<li ng-repeat="org in orgList" ng-hide="hiddenTest(org.id)">'
- + '<a href dropdown-toggle ng-click="orgChanged(org)"'
+ + '<a href ng-click="orgChanged(org)"'
+ 'style="padding-left: {{org.depth * 10 + 5}}px">'
+ '{{org.shortname}}'
+ '</a>'