Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 6763bfa

Browse files
devversionThomasBurleson
authored andcommitted
feat(list): add ui-sref-opts attribute to button executor.
* The list item supports the ui-sref-opts attribute now as well. Fixes #7658. Closes #7672
1 parent 38590e2 commit 6763bfa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/list/list.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,8 @@ function mdListItemDirective($mdAria, $mdConstant, $mdUtil, $timeout) {
208208

209209
function copyAttributes(item, wrapper) {
210210
var copiedAttrs = ['ng-if', 'ng-click', 'aria-label', 'ng-disabled',
211-
'ui-sref', 'href', 'ng-href', 'ng-attr-ui-sref'];
211+
'ui-sref', 'href', 'ng-href', 'ng-attr-ui-sref', 'ui-sref-opts'];
212+
212213
angular.forEach(copiedAttrs, function(attr) {
213214
if (item.hasAttribute(attr)) {
214215
wrapper.setAttribute(attr, item.getAttribute(attr));

0 commit comments

Comments
 (0)