changed vm to a better controller instance name
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -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}">
|
||||
|
||||
Reference in New Issue
Block a user