Merge branch 'netcore/netcore' into netcore/feature/migrate-logging
This commit is contained in:
@@ -627,21 +627,8 @@ angular.module("umbraco")
|
||||
|
||||
}
|
||||
|
||||
|
||||
var guid = (function () {
|
||||
function s4() {
|
||||
return Math.floor((1 + Math.random()) * 0x10000)
|
||||
.toString(16)
|
||||
.substring(1);
|
||||
}
|
||||
return function () {
|
||||
return s4() + s4() + "-" + s4() + "-" + s4() + "-" +
|
||||
s4() + "-" + s4() + s4() + s4();
|
||||
};
|
||||
})();
|
||||
|
||||
$scope.setUniqueId = function (cell, index) {
|
||||
return guid();
|
||||
$scope.setUniqueId = function () {
|
||||
return String.CreateGuid();
|
||||
};
|
||||
|
||||
$scope.addControl = function (editor, cell, index, initialize) {
|
||||
|
||||
Reference in New Issue
Block a user