LP#1554714 Ang 1.5 org unit dropdown repair
authorBill Erickson <berickxx@gmail.com>
Thu, 14 Apr 2016 14:36:13 +0000 (10:36 -0400)
committerBill Erickson <berickxx@gmail.com>
Fri, 22 Apr 2016 13:53:00 +0000 (09:53 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/web/js/ui/default/staff/services/ui.js

index 4600b4f..e5eb40f 100644 (file)
@@ -350,12 +350,12 @@ function($window , egStrings) {
 
         // any reason to move this into a TT2 template?
         template : 
-            '<div class="btn-group eg-org-selector" dropdown>'
-            + '<button type="button" class="btn btn-default dropdown-toggle" ng-disabled="disable_button">'
+            '<div class="btn-group eg-org-selector" uib-dropdown>'
+            + '<button type="button" class="btn btn-default" uib-dropdown-toggle ng-disabled="disable_button">'
              + '<span style="padding-right: 5px;">{{getSelectedName()}}</span>'
              + '<span class="caret"></span>'
            + '</button>'
-           + '<ul class="dropdown-menu scrollable-menu">'
+           + '<ul uib-dropdown-menu class="scrollable-menu">'
              + '<li ng-repeat="org in orgList" ng-hide="hiddenTest(org.id)">'
                + '<a href ng-click="orgChanged(org)" a-disabled="disableTest(org.id)" '
                  + 'style="padding-left: {{org.depth * 10 + 5}}px">'