Notalib / LYT

m.e17.dk
GNU Lesser General Public License v3.0
10 stars 12 forks source link

Only send one GetItemById request when viewing book details #641

Closed saebekassebil closed 10 years ago

saebekassebil commented 10 years ago

For whatever reason we were calling LYT.catalog.getDetails() twice when viewing book details - one time on 'pagebeforeshow', another one on 'pageshow'. This seemed redundant, and it works as expected when doing all the DOM magic in the promise created on 'pagebeforeshow'