LP#1402797 Repair browser client dropdown buttons - #2
authorBill Erickson <berickxx@gmail.com>
Mon, 15 Dec 2014 18:46:14 +0000 (13:46 -0500)
committerBill Erickson <berickxx@gmail.com>
Thu, 12 Feb 2015 16:58:28 +0000 (11:58 -0500)
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>
Open-ILS/web/js/ui/default/staff/services/ui.js

index c960ffb..35e6887 100644 (file)
@@ -215,7 +215,7 @@ function($modal, $interpolate) {
            + '</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>'