Fixes U4-6167 - Show path of selected node
This commit is contained in:
@@ -150,7 +150,7 @@ function contentPickerController($scope, dialogService, entityResource, editorSt
|
||||
|
||||
if (currIds.indexOf(item.id) < 0) {
|
||||
item.icon = iconHelper.convertFromLegacyIcon(item.icon);
|
||||
$scope.renderModel.push({ name: item.name, id: item.id, icon: item.icon });
|
||||
$scope.renderModel.push({ name: item.name, id: item.id, icon: item.icon, path: item.path });
|
||||
}
|
||||
};
|
||||
|
||||
@@ -182,7 +182,7 @@ function contentPickerController($scope, dialogService, entityResource, editorSt
|
||||
|
||||
if (entity) {
|
||||
entity.icon = iconHelper.convertFromLegacyIcon(entity.icon);
|
||||
$scope.renderModel.push({ name: entity.name, id: entity.id, icon: entity.icon });
|
||||
$scope.renderModel.push({ name: entity.name, id: entity.id, icon: entity.icon, path: entity.path });
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
ui-sortable
|
||||
ng-model="renderModel">
|
||||
|
||||
<li ng-repeat="node in renderModel">
|
||||
<li ng-repeat="node in renderModel" ng-attr-title="Path: {{node.path}}">
|
||||
|
||||
<i class="icon icon-navigation handle"></i>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user