Fixes broken datatype editor

This commit is contained in:
perploug
2013-09-17 11:15:20 +02:00
parent 96c426f8c7
commit 6a026ab489
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ function dataTypeResource($q, $http, umbDataFormatter, umbRequestHelper) {
umbRequestHelper.getApiUrl(
"dataTypeApiBaseUrl",
"GetPreValues",
[{ editorId: editorId }, { dataTypeId: dataTypeId }])),
[{ editorAlias: editorId }, { dataTypeId: dataTypeId }])),
'Failed to retreive pre values for editor id ' + editorId);
},

View File

@@ -34,7 +34,7 @@
<select name="selectedEditor"
ng-model="content.selectedEditor"
required
ng-options="e.editorId as e.name for e in content.availableEditors"></select>
ng-options="e.alias as e.name for e in content.availableEditors"></select>
<span class="help-inline" val-msg-for="selectedEditor" val-toggle-msg="required">Required</span>
</div>