Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Commit

Permalink
fix(dropdown): re-add close
Browse files Browse the repository at this point in the history
- Re-add closing via service

Closes #6382
Fixes #6321
Fixes #6357
Fixes #6364
  • Loading branch information
khlevon authored and wesleycho committed Dec 27, 2016
1 parent 7a1d54c commit 955848c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dropdown/dropdown.js
Expand Up @@ -337,6 +337,7 @@ angular.module('ui.bootstrap.dropdown', ['ui.bootstrap.multiMap', 'ui.bootstrap.
scope.focusToggleElement();
uibDropdownService.open(scope, $element, appendTo);
} else {
uibDropdownService.close(scope, $element, appendTo);
if (self.dropdownMenuTemplateUrl) {
if (templateScope) {
templateScope.$destroy();
Expand Down

0 comments on commit 955848c

Please sign in to comment.