From 23d91fd35064cc4e05382ad34759c6c5dffbb793 Mon Sep 17 00:00:00 2001 From: Sebastiaan Janssen Date: Mon, 17 Jul 2017 22:14:59 +0200 Subject: [PATCH] Adds removed method back in case someone is using it (would be breaking otherwise) --- .../propertyeditors/listview/listview.controller.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/listview/listview.controller.js b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/listview/listview.controller.js index a50a0f620e..8f9279fb02 100644 --- a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/listview/listview.controller.js +++ b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/listview/listview.controller.js @@ -649,6 +649,15 @@ function listViewController($rootScope, $scope, $routeParams, $injector, $cookie return alias; } + function getItemKey(itemId) { + for (var i = 0; i < $scope.listViewResultSet.items.length; i++) { + var item = $scope.listViewResultSet.items[i]; + if (item.id === itemId) { + return item.key; + } + } + } + //GO! initView(); }