Skip to content

Bundle for production - Issue Unknown provider: eProvider <- e <- treeRightClickDirective #305

@jobanorth

Description

@jobanorth

treeRightClick directive deps, need to be changed like below to avoid issues when uglified/minimized.

.directive('treeRightClick', ['$parse', function($parse) {
return function(scope, element, attrs) {
var fn = $parse(attrs.treeRightClick);
element.bind('contextmenu', function(event) {
scope.$apply(function() {
fn(scope, {$event:event}); // go do our stuff
});
});
};
}])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions