Skip to content

Commit c172dfa

Browse files
committed
Merge pull request BlogEngine#62 from rfennell/master
Update widgetController.js
2 parents 614c5cd + b62e88e commit c172dfa

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

BlogEngine/BlogEngine.NET/admin/app/custom/widgets/widgetController.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
var sharedSrc = SiteVars.RelativeWebRoot + "Custom/Widgets/common.cshtml";
4545
var customSrc = SiteVars.RelativeWebRoot + "Custom/Widgets/" + name + "/edit.cshtml";
4646

47+
4748
$scope.editId = id;
4849
$scope.editTitle = title;
4950
$scope.editZone = zone;
@@ -54,7 +55,7 @@
5455

5556
$.ajax({
5657
type: 'HEAD',
57-
url: customSrc,
58+
url: customSrc + "?id=" + id,
5859
async: false,
5960
success: function () {
6061
$scope.editSrc = customSrc + "?id=" + id + "&zone=" + zone;
@@ -215,4 +216,4 @@
215216

216217
var updateTitle = function () {
217218
return angular.element($('#edit-widget')).scope().updateTitle();
218-
}
219+
}

0 commit comments

Comments
 (0)