You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a bug in IE 9. When a template contains javascript:void(0) the preprocessor has an issue where it won't retrieve the template. For example, an external template contains the following:
This is a bug in IE 9. When a template contains
javascript:void(0)
the preprocessor has an issue where it won't retrieve the template. For example, an external template contains the following:<a href="javascript:void(0)" ng-click="buttonClicked()">Click Me</a>
Karma will return an error as follows:
TypeError: Unable to get value of the property 'then': object is null or undefined
However, clicking the DEBUG button in the browser Karma is using and checking the browser's console (F12 developer tools) shows the following:
LOG: SUCCESS ButtonsDirectives NavigationDirective Should render a loading message
I can consistently reproduce this as long as
javascript:void(0)
is in the template. Removing it seems to correct the issue.The text was updated successfully, but these errors were encountered: