Skip to content

Commit 373138d

Browse files
Make GridPropertyEditor dirty if a control is removed
This is the same fix that @inetzo made for a PR I checked earlier today except the fix was for U8. Since I didn't notice it was U8 until I had merged, I thought I'd fix it here but credit should go to @inetzo #12097
1 parent 10d2528 commit 373138d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Umbraco.Web.UI.Client/src/views/propertyeditors/grid/grid.controller.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -667,6 +667,7 @@ angular.module("umbraco")
667667
$scope.removeControl = function (cell, $index) {
668668
$scope.currentControl = null;
669669
cell.controls.splice($index, 1);
670+
currentForm.$setDirty();
670671
};
671672

672673
$scope.percentage = function (spans) {

0 commit comments

Comments
 (0)