diff --git a/app/models/ad_banner.rb b/app/models/ad_banner.rb index 7377d852..39112960 100644 --- a/app/models/ad_banner.rb +++ b/app/models/ad_banner.rb @@ -15,7 +15,7 @@ class AdBanner FX_TYPES = ["blindX","blindY","blindZ","cover","curtainX","curtainY","fade","fadeZoom","growX","growY","scrollUp","scrollDown","scrollLeft","scrollRight","scrollHorz","scrollVert","shuffle","slideX","slideY","toss","turnUp","turnDown","turnLeft","turnRight","uncover","wipe","zoom"] attr_writer :transition_sec def transition_sec - self.transition_msec/1000 + self.transition_msec/1000 rescue nil end def transition_sec=(sec)