Fixes issue with media edit controller not having a $timeout reference.

This commit is contained in:
Shannon
2013-09-27 13:05:57 +10:00
parent ed7851c962
commit 7684381326

View File

@@ -6,7 +6,7 @@
* @description
* The controller for the media editor
*/
function mediaEditController($scope, $routeParams, mediaResource, notificationsService, angularHelper, serverValidationManager, contentEditingHelper, fileManager, editorContextService) {
function mediaEditController($scope, $routeParams, mediaResource, notificationsService, angularHelper, serverValidationManager, contentEditingHelper, fileManager, editorContextService, $timeout) {
//initialize the file manager
fileManager.clearFiles();