Skip to content

Commit 69dcd50

Browse files
author
Cleverson Nascimento
committed
Missing model on title function.
1 parent 8fb8b1a commit 69dcd50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contextMenu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ angular.module('ui.bootstrap.contextMenu', [])
2222
} else {
2323
var $a = $('<a>');
2424
$a.attr({ tabindex: '-1', href: '#' });
25-
var text = typeof item[0] == 'string' ? item[0] : item[0].call($scope, $scope, event);
25+
var text = typeof item[0] == 'string' ? item[0] : item[0].call($scope, $scope, event, model);
2626
$a.text(text);
2727
$li.append($a);
2828
var enabled = angular.isDefined(item[2]) ? item[2].call($scope, $scope, event, text, model) : true;

0 commit comments

Comments
 (0)