$sf.ext.status() in the reference impl returns empty string

2013-06-18
2013-12-30
  • Gasper Kozak

    Gasper Kozak - 2013-06-18

    Hi,

    The spec says $sf.ext.status() should return one of the four listed values, but the reference implementation (I'm testing through expansion_sample.html) seems to be returning an empty string, regardless of the status the ad is in; initially, after expand, after collapse.

    Is this a known issue, or am I just doing something incorrectly? I can give you the code for the ad, but it's really just a register + button + expand, with a setInterval that logs $sf.ext.status().

    Thanks!

     
  • Sean Snider

    Sean Snider - 2013-10-20

    Default state should always be "collapsed", sounds like a bug.

     
  • Chris Cole

    Chris Cole - 2013-10-24

    A tracking ticket has been created for this issue.

     
  • Chris Cole

    Chris Cole - 2013-12-30

    This is now fixed to report correct state per spec (code ver 1.0.3)
    'collapsed', 'expanded', 'collapsing', 'expanding'

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks