add data attribute to tree-item-options
This commit is contained in:
@@ -43,7 +43,7 @@ angular.module("umbraco.directives")
|
||||
'<i class="icon umb-tree-icon sprTree" ng-click="select(node, $event)"></i>' +
|
||||
'<a class="umb-tree-item__label" href="#/{{node.routePath}}" ng-click="select(node, $event)"></a>' +
|
||||
//NOTE: These are the 'option' elipses
|
||||
'<a class="umb-options" ng-click="options(node, $event)"><i></i><i></i><i></i></a>' +
|
||||
'<a data-element="tree-item-options" class="umb-options" ng-click="options(node, $event)"><i></i><i></i><i></i></a>' +
|
||||
'<div ng-show="node.loading" class="l"><div></div></div>' +
|
||||
'</div>' +
|
||||
'</li>',
|
||||
|
||||
@@ -45,7 +45,8 @@ function startUpDynamicContentController(dashboardResource, assetsService, tourS
|
||||
element: "#tree [data-element='tree-item-documentTypes']",
|
||||
title: "Let's open the context menu",
|
||||
content: "Hover the document types node and click the three small dots",
|
||||
event: "click"
|
||||
event: "click",
|
||||
clickElement: "#tree [data-element='tree-item-documentTypes'] [data-element='tree-item-options']"
|
||||
},
|
||||
{
|
||||
element: "#dialog [data-element='action-documentType']",
|
||||
|
||||
Reference in New Issue
Block a user