Skip to content

Commit

Permalink
Moved call to dumpToTable. Fixes #167.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmartel committed Aug 17, 2015
1 parent e79a09f commit b217d94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -1384,7 +1384,7 @@ dwv.App = function ()
viewController = new dwv.ViewController(view);
// append the DICOM tags table
if ( tagsGui ) {
tagsGui.initialise(data.info.dumpToTable());
tagsGui.initialise(data.info);
}
// store image
originalImage = view.getImage();
Expand Down
2 changes: 1 addition & 1 deletion src/image/reader.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,6 @@ dwv.image.getDataFromDicomBuffer = function(buffer)
var viewFactory = new dwv.image.ViewFactory();
var view = viewFactory.create( dicomParser.getDicomElements(), dicomParser.getPixelBuffer() );
// return
return {"view": view, "info": dicomParser.getDicomElements()};
return {"view": view, "info": dicomParser.getDicomElements().dumpToTable()};
};

0 comments on commit b217d94

Please sign in to comment.