VideoEditor load GETs editer.json resource twice

Steps to reproduce

Open WebDeveloper console and then click on any event that is ready to edit. In the Network tab you will see that the editor.json resource is fetched twice.

Using the debugger it appears that two different ToolsCtrl $scopes are getting this resource, $scope.$id differ for each fetch (note $id not id which is the event id)

$scope.video = ToolsResource.get({id: $scope.id, tool: 'editor'});

Activity

Show:
James Perrin
June 14, 2018, 9:35 AM

The tools.html is specifying the ng-controller even though this is already configured by the routeProvider in app.js

Fixed and reviewed
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

James Perrin

Reporter

James Perrin

Severity

Performance

Tags (folksonomy)