From c8df4a08f9e1005bd4cbbe0aef8a639ad0fdad26 Mon Sep 17 00:00:00 2001 From: Shannon Date: Mon, 10 Jun 2013 14:48:29 -0200 Subject: [PATCH] missing file commit --- .../belle/views/content/edit.controller.js | 22 ------------------- 1 file changed, 22 deletions(-) delete mode 100644 src/Umbraco.Web.UI.Client/build/belle/views/content/edit.controller.js diff --git a/src/Umbraco.Web.UI.Client/build/belle/views/content/edit.controller.js b/src/Umbraco.Web.UI.Client/build/belle/views/content/edit.controller.js deleted file mode 100644 index 56e35b5821..0000000000 --- a/src/Umbraco.Web.UI.Client/build/belle/views/content/edit.controller.js +++ /dev/null @@ -1,22 +0,0 @@ -angular.module("umbraco") -.controller("Umbraco.Editors.ContentEditController", - function ($scope, $routeParams, contentResource, notificationsService) { - - if($routeParams.create) - $scope.content = contentResource.getContentScaffold($routeParams.id, $routeParams.doctype); - else - $scope.content = contentResource.getContent($routeParams.id); - - - $scope.saveAndPublish = function (cnt) { - cnt.publishDate = new Date(); - contentResource.publishContent(cnt); - notificationsService.success("Published", "Content has been saved and published"); - }; - - $scope.save = function (cnt) { - cnt.updateDate = new Date(); - contentResource.saveContent(cnt); - notificationsService.success("Saved", "Content has been saved"); - }; -}); \ No newline at end of file