Fixes: U4-3661 Unable to Create Color Picker DataType & U4-3645 Media Picker Umbraco 7 can select multiple
This commit is contained in:
@@ -22,7 +22,7 @@ function dataTypeResource($q, $http, umbDataFormatter, umbRequestHelper) {
|
||||
* alert('its gone!');
|
||||
* });
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* @param {String} editorAlias string alias of editor type to retrive prevalues configuration for
|
||||
* @param {Int} id id of datatype to retrieve prevalues for
|
||||
* @returns {Promise} resourcePromise object.
|
||||
@@ -40,7 +40,7 @@ function dataTypeResource($q, $http, umbDataFormatter, umbRequestHelper) {
|
||||
"dataTypeApiBaseUrl",
|
||||
"GetPreValues",
|
||||
[{ editorAlias: editorAlias }, { dataTypeId: dataTypeId }])),
|
||||
'Failed to retreive pre values for editor id ' + editorId);
|
||||
'Failed to retreive pre values for editor alias ' + editorAlias);
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
@@ -8,7 +8,7 @@ angular.module('umbraco').controller("Umbraco.PropertyEditors.MediaPickerControl
|
||||
|
||||
function setupViewModel() {
|
||||
$scope.images = [];
|
||||
$scope.ids = [];
|
||||
$scope.ids = [];
|
||||
|
||||
if ($scope.model.value) {
|
||||
$scope.ids = $scope.model.value.split(',');
|
||||
|
||||
Reference in New Issue
Block a user