Update comment

This commit is contained in:
Bjarne Fyrstenborg
2018-02-12 21:56:48 +01:00
parent df182674b4
commit 47d08e69a4

View File

@@ -141,8 +141,8 @@ angular.module('umbraco').controller("Umbraco.PropertyEditors.MediaPickerControl
cancel: ".unsortable",
update: function(e, ui) {
var r = [];
//TODO: Instead of doing this with a half second delay would be better to use a watch like we do in the
// content picker. THen we don't have to worry about setting ids, render models, models, we just set one and let the
// TODO: Instead of doing this with a half second delay would be better to use a watch like we do in the
// content picker. Then we don't have to worry about setting ids, render models, models, we just set one and let the
// watch do all the rest.
$timeout(function(){
angular.forEach($scope.images, function(value, key) {