changed vm to a better controller instance name

This commit is contained in:
Niels Lyngsø
2020-05-29 11:00:28 +02:00
parent cb9f614446
commit 1126a2d699
2 changed files with 4 additions and 4 deletions
@@ -270,7 +270,7 @@
var dataModel = this._getDataByUdi(udi);
if (dataModel === null) {
console.error("Couldnt find content model of "+udi)
console.error("Couldnt find content model of " + udi)
return null;
}
@@ -11,10 +11,10 @@
type="button"
class="btn-reset umb-block-list__block--create-button"
ng-click="vm.showCreateDialog($index, $event)"
ng-controller="Umbraco.PropertyEditors.BlockListPropertyEditor.CreateButtonController as vm"
ng-mousemove="vm.onMouseMove($event)"
ng-controller="Umbraco.PropertyEditors.BlockListPropertyEditor.CreateButtonController as inlineCreateButtonCtrl"
ng-mousemove="inlineCreateButtonCtrl.onMouseMove($event)"
>
<div class="__plus" ng-style="{'left':vm.plusPosX}">+</div>
<div class="__plus" ng-style="{'left':inlineCreateButtonCtrl.plusPosX}">+</div>
</button>
<div class="umb-block-list__block" ng-class="{'--open':block.isOpen}">