Skip to content

Commit a7060db

Browse files
committed
Fixing issue with logging error on post save then publish.
1 parent 6b7a7c3 commit a7060db

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

BlogEngine/BlogEngine.NET/admin/app/editor/pageeditorController.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
$log.log(data);
9595
if (data.Id) {
9696
angular.copy(data, $scope.page);
97+
$scope.id = $scope.page.Id;
9798
$scope.updateCustom();
9899
}
99100
$("#modal-form").modal('hide');

BlogEngine/BlogEngine.NET/admin/app/editor/posteditorController.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
toastr.success($rootScope.lbl.postAdded);
131131
if (data.Id) {
132132
angular.copy(data, $scope.post);
133-
var x = $scope.post.Id;
133+
$scope.id = $scope.post.Id;
134134
$scope.updateCustom();
135135
}
136136
$("#modal-form").modal('hide');

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy