Notalib / LYT

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

show text instead - of hiding "Afspilningshastighed" on settings page #494

Closed LDHgithub closed 11 years ago

LDHgithub commented 11 years ago

just gray out the Afspilningshastighed "div" and write the text: "Afspilningshastighed er ikke understøttet på denne platform" instead of hiding Afspilningshastighed "div" - when this is not supported.

look at

settings: (type, match, ui, page, event) -> params = LYT.router.getParams(match[1]) promise = LYT.control.ensureLogOn params promise.fail -> log.error 'Control: settings: unable to log in' promise.done -> if type is 'pagebeforeshow' promise = LYT.player.isPlayBackRateSupported() promise.done (result) -> if not result LYT.render.hideplayBackRate() promise.fail () -> LYT.render.hideplayBackRate()

in control.coffee line 389.......

mzedeler commented 11 years ago

This has been fixed in LYT 2.0.0_010.