Can't delete the custom fields on editpost.cshtml and editpage.cshtml

Topics: ASP.NET 2.0
Jan 21 at 2:00 AM
Hi,

I have Installed the latest 3.2 version of BlogEngine and i am using sqlserver for data storage.

I tried to create custom fields on editpost.cshtml and editpage.cshtml for new posts and pages.
Custom fields were created without any problem and i could see the created fields in my database table.

But when i try to delete them, i am not able to delete them.

When i click the delete icon on custom field, it is getting hidden, but it is not getting deleted from database.And when i refresh the page it is showing up again.

I tried to debug the javascript in posteditorController.js and the following function seems to be not working.
$scope.deleteCustom = function (key, objId) {
    $.each($scope.customFields, function (index, result) {
        if (result["Key"] == key && result["ObjectId"] == objId) {
            $scope.customFields.splice(index, 1);
        }
    });
}

Any help would be appreciated.