remove function to open old mini content editor

This commit is contained in:
Mads Rasmussen
2018-07-03 15:59:16 +02:00
parent 3587039406
commit 14365e3894

View File

@@ -263,19 +263,6 @@ function contentPickerController($scope, entityResource, editorState, iconHelper
editorService.contentEditor(contentEditor);
};
$scope.openMiniEditor = function(node) {
miniEditorHelper.launchMiniEditor(node).then(function(updatedNode){
// update the node
node.name = updatedNode.name;
node.published = updatedNode.hasPublishedVersion;
if(entityType !== "Member") {
entityResource.getUrl(updatedNode.id, entityType).then(function(data){
node.url = data;
});
}
});
};
//when the scope is destroyed we need to unsubscribe
$scope.$on('$destroy', function () {
if(unsubscribe) {