Closed dmitry-saritasa closed 9 years ago
Thank you @saritasa for reporting it.
This error seems to be pretty old, introduced width 0c107c142eec38fdf704840615d307329e91265c
The listener on $destroy
was probably copy pasted from the accordion controller. This listener is definitely not used and can be removed.
Do you want to fix it?
TypeError: undefined is not a function at angular-semantic-ui.js:280 at Scope.$get.Scope.$broadcast (angular.js:14785) at Scope.$get.Scope.$destroy (angular.js:14405) at Scope.ng.config.$provide.decorator.$delegate.proto.$destroy (:812:29)
at cleanupLastView (angular-ui-router.js:3816)
at angular-ui-router.js:3849
at publicLinkFn (angular.js:6995)
at updateView (angular-ui-router.js:3839)
at angular-ui-router.js:3801
at Scope.$get.Scope.$broadcast (angular.js:14785)
angular-semantic-ui.js:280 is:
my sample form is
app.js
so when I'm opening the page with the form - all is good. When I'm navigating away from the form by clicking any button in top navigation block (which sets a new state in angular ui router) - I'm getting such error.
I have Latest angular.js 1.3.15