From ce3149d3266ff75caafe4d2f739c0d7868ac6d9a Mon Sep 17 00:00:00 2001 From: Patrick Sullivan Date: Thu, 22 Oct 2015 10:58:28 -0700 Subject: [PATCH] fix(datepicker): datepicker-popup nest in dropdown Extends the fix from commit c5fe8b to the deprecated non uib dropdown-menu. Closes #4197 --- src/dropdown/dropdown.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dropdown/dropdown.js b/src/dropdown/dropdown.js index 36d357990d..1e666f2a7f 100644 --- a/src/dropdown/dropdown.js +++ b/src/dropdown/dropdown.js @@ -551,7 +551,7 @@ angular.module('ui.bootstrap.dropdown') restrict: 'AC', require: '?^dropdown', link: function(scope, element, attrs, dropdownCtrl) { - if (!dropdownCtrl) { + if (!dropdownCtrl || angular.isDefined(attrs.dropdownNested)) { return; }