Skip to content
This repository was archived by the owner on Jun 18, 2018. It is now read-only.

Commit 78b071f

Browse files
committed
Renamed a scope variable
for the selected doctype tabs (in the prevalue editor).
1 parent 8e6961e commit 78b071f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Our.Umbraco.NestedContent/Web/UI/App_Plugins/NestedContent/Js/nestedcontent.controllers.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@
2626
handle: ".icon-navigation"
2727
};
2828

29-
$scope.dtTabs = {};
29+
$scope.selectedDocTypeTabs = {};
3030

3131
ncResources.getContentTypes().then(function (docTypes) {
3232
$scope.model.docTypes = docTypes;
3333

3434
// Populate document type tab dictionary
3535
docTypes.forEach(function(value) {
36-
$scope.dtTabs[value.alias] = value.tabs;
36+
$scope.selectedDocTypeTabs[value.alias] = value.tabs;
3737
});
3838
});
3939

src/Our.Umbraco.NestedContent/Web/UI/App_Plugins/NestedContent/Views/nestedcontent.doctypepicker.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
</td>
2828
<td>
2929
<select id="{{model.alias}}_tab_select"
30-
ng-options="t for t in dtTabs[config.ncAlias]"
30+
ng-options="t for t in selectedDocTypeTabs[config.ncAlias]"
3131
ng-model="config.ncTabAlias" required></select>
3232
</td>
3333
<td>

0 commit comments

Comments
 (0)