jsymonkj / pwi

Automatically exported from code.google.com/p/pwi
0 stars 0 forks source link

Possibility to Hide Album Description DIV #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set showAlbumDescription=false

No data is shown in album description, but paddings are still present on the 
page - unused empty space in the top

It would be great if description div does not displayed at all

Original issue reported on code.google.com by sil.cikl...@gmail.com on 20 Sep 2009 at 2:59

GoogleCodeExporter commented 9 years ago
Issue 22 has been merged into this issue.

Original comment by jdiderik on 20 Sep 2009 at 3:02

GoogleCodeExporter commented 9 years ago

Original comment by jdiderik on 12 Nov 2009 at 8:21

GoogleCodeExporter commented 9 years ago
An easy fix: at the top of the album function, add an $addedDescription 
variable.  In
the two if-statements that call $scPhotosDesc.append(...), add

  $addedDescription = true;

Then wrap $scPhotos.append($scPhotosDesc) with if $(addedDescription) { ... }.

Original comment by mharris...@gmail.com on 8 Jan 2010 at 9:38

GoogleCodeExporter commented 9 years ago
fixed

Original comment by jdiderik on 18 Jan 2010 at 6:49

GoogleCodeExporter commented 9 years ago
updated in revision 83

Original comment by jdiderik on 18 Jan 2010 at 9:04