Skip to content

Commit

Permalink
fix #308 load content logicaly after download zds
Browse files Browse the repository at this point in the history
  • Loading branch information
firm1 committed Dec 29, 2016
1 parent f0f081b commit dc585b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ public String getTitle() {
}

public String getExpandTitle() {
return getTitle()+" (" + getParent().getTitle() + ")";
return getTitle()+" (" +
getParent().getTitle() + ")";
}

public String getLimitedExpandTitle() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ protected Content call() throws Exception {
ObjectMapper mapper = new ObjectMapper();
File manifest = new File(folder.getAbsolutePath() + File.separator + "manifest.json");
Content c = mapper.readValue(manifest, Content.class);
c.setBasePath(folder.getAbsolutePath());
c.setRootContent(c, folder.getAbsolutePath());
updateMessage (Configuration.getBundle().getString("ui.dialog.download.zds.message.done"));
return c;
}
Expand Down

0 comments on commit dc585b4

Please sign in to comment.