Solves tooltip issue for block column editor on remove block column editor option

This commit is contained in:
Aaron
2023-03-09 14:24:45 +00:00
committed by Jason Elkin
parent d8f204ddf9
commit 393845ce4d
2 changed files with 8 additions and 4 deletions

View File

@@ -5,7 +5,7 @@
{{vm.columnSpanOption.columnSpan}}
</span>
<div class="__border"></div>
<button type="button" class="btn-reset" ng-click="vm.onClickRemove()">
<button type="button" ng-attr-title="{{vm.removeLabel}}" class="btn-reset" ng-click="vm.onClickRemove()">
<span class="sr-only">
<localize key="general_remove">Remove</localize>
</span>
@@ -23,4 +23,4 @@
</span>
</button>
</div>
</div>
</div>

View File

@@ -23,9 +23,13 @@
}
});
function BlockGridColumnOptionController() {
function BlockGridColumnOptionController(localizationService) {
var vm = this;
var vm = this;
localizationService.localize("general_remove").then(function (value) {
vm.removeLabel = value;
})
vm.$onInit = function() {