Skip to content

Commit

Permalink
document-loaded was being logged inside a
Browse files Browse the repository at this point in the history
  • Loading branch information
Ximo Planells committed Jun 29, 2014
1 parent 18eca65 commit 0e74b40
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/scripts/contentArea/contentArea.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ angular.module('controllers').controller('ContentAreaCtrl',
if (Document.segments.length === 0) {
$state.go('project');
}

project.updateStat('document-loaded', -1, '');

// DEV UTILS
$scope.showXLIFF = project.debugXLIFF;
// END DEV UTILS
Expand All @@ -29,9 +32,6 @@ angular.module('controllers').controller('ContentAreaCtrl',
if (Document.loaded) {
$scope.xliff_content = new XMLSerializer().serializeToString( Document.DOM );
}

// TODO add document name as thir argument
project.updateStat('document-loaded', -1, '');
}
);

Expand Down

0 comments on commit 0e74b40

Please sign in to comment.