can't delete variables

This commit is contained in:
Mads Rasmussen
2018-10-07 20:03:06 +02:00
parent 6dfb1e7e83
commit 0cd24e94bb
4 changed files with 4 additions and 4 deletions

View File

@@ -28,7 +28,7 @@ angular.module("umbraco")
if(toggle){
collection = [];
}else{
delete collection;
collection = null;
}
};

View File

@@ -27,7 +27,7 @@ function RowConfigController($scope) {
collection = [];
}
else {
delete collection;
collection = null;
}
};

View File

@@ -189,7 +189,7 @@ angular.module("umbraco")
if(toggle){
collection = [];
}else{
delete collection;
collection = null;
}
};

View File

@@ -207,7 +207,7 @@ angular.module("umbraco")
tagsHound.clearPrefetchCache();
tagsHound.clearRemoteCache();
$element.find('.tags-' + $scope.model.alias).typeahead('destroy');
delete tagsHound;
tagsHound = null;
});
});