Skip to content

Commit

Permalink
LSNBLDR-653; width spec was being ignored for images; see Jira -- thi…
Browse files Browse the repository at this point in the history
…s may not be regarded by everyone as a fix (sakaiproject#3198)
  • Loading branch information
clhedrick authored Aug 15, 2016
1 parent bd79a68 commit 8946622
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1774,6 +1774,8 @@ else if (lessonEntity.notPublished())

if (mmDisplayType == null && simplePageBean.isImageType(i)) {
// a wide default for images would produce completely wrong effect
if (widthSt != null && !widthSt.equals(""))
width = new Length(widthSt);
} else if (widthSt == null || widthSt.equals("")) {
width = new Length(DEFAULT_WIDTH);
} else {
Expand Down

0 comments on commit 8946622

Please sign in to comment.