U4-5793 The three icons (delete, move, settings) seems to fail to appear if the cursor is coming from inside the row. I need to move the cursor out of the row entirely and then back in. Seems like a bug to me.

This commit is contained in:
antoine
2014-11-12 13:59:48 +01:00
parent 7300316780
commit 4257a89cc1

View File

@@ -152,8 +152,8 @@ angular.module("umbraco")
$scope.overlayMenu.show = true;
};
$scope.closeItemOverlay = function(){
$scope.currentControl = undefined;
$scope.closeItemOverlay = function () {
$scope.currentControl = null;
$scope.overlayMenu.show = false;
$scope.overlayMenu.key = undefined;
};
@@ -229,6 +229,7 @@ angular.module("umbraco")
$scope.removeRow = function (section, $index) {
if (section.rows.length > 0) {
section.rows.splice($index, 1);
$scope.currentRow = null;
$scope.openRTEToolbarId = null;
$scope.initContent();
}
@@ -360,6 +361,7 @@ angular.module("umbraco")
};
$scope.removeControl = function (cell, $index) {
$scope.currentControl = null;
cell.controls.splice($index, 1);
};