Skip to content

Commit b13bfb5

Browse files
committed
Property editor load indicator
1 parent f84898a commit b13bfb5

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/Umbraco.Cms.Integrations.PIM.Inriver/App_Plugins/UmbracoCms.Integrations/PIM/Inriver/js/entitypickereditor.controller.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@
22

33
var vm = this;
44

5+
vm.loading = false;
56
vm.entities = [];
67

78
query($scope.model.configuration.entityType);
89

910
function query(entityTypeId) {
11+
vm.loading = true;
1012
umbracoCmsIntegrationsPimInriverResource.query(entityTypeId).then(function (response) {
1113
if (response.success) {
1214
vm.entities = [];
@@ -25,6 +27,8 @@
2527
});
2628
}
2729
}
30+
31+
vm.loading = false;
2832
});
2933
}
3034

src/Umbraco.Cms.Integrations.PIM.Inriver/App_Plugins/UmbracoCms.Integrations/PIM/Inriver/views/entitypickereditor.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<div ng-controller="Umbraco.Cms.Integrations.PIM.Inriver.EntityPickerEditorController as vm">
2+
<umb-load-indicator ng-if="vm.loading">
3+
</umb-load-indicator>
24
<uui-box headline="{{model.title}}" class="inriver-container">
35
<div style="width:60%">
46
<uui-form>

0 commit comments

Comments
 (0)