This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
uibModal won't open #16594
Closed
Description
I'm submitting a ...
- [x ] bug report
- feature request
- other
Current behavior:
Clicking a button which opens a modal results in this error: "TypeError: u is not a function".
Expected / new behavior:
Usually the Modal opens and displays its contents fine. Reverting to AngularJS 1.7.0 makes this error go away.
Minimal reproduction of the problem with instructions:
AngularJS version: 1.7.1
Browser: [all | Chrome XX | Firefox XX | Edge XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
Anything else:
In the minified file it takes me to
.provider("$uibModal", function() {
...
angular.extend(c, {
$resolve: l.$scope.$resolve
}, r)),
c = u(), // This line
angular.isFunction(c.$onInit) && c.$onInit()),
s.open(
So I'd like to believe a change from 1.7.0 to 1.7.1 around here caused the bug.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment