lopespm / mobiscroll

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

beforeShow not being called from $('#my_id').scroller('show') call #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. create a scroller attached to a hidden input with a beforeShow function 
defined
2. open the scroller via explicit call: $('#my_id').scroller('show');
3. beforeShow is never called

What is the expected output? What do you see instead?
beforeShow should always be called before the widget is shown

What version of the product are you using? On what operating system?
jquery.scroller-1.0b.js

Please provide any additional information below.
I just added the following to the show function (around line 770), but this 
entire thing should probably be in the main show method (around line 465?)

Original issue reported on code.google.com by barh...@gmail.com on 10 Mar 2011 at 4:13

GoogleCodeExporter commented 8 years ago
Fixed in rc2 as suggested in the show function.
Same issue fixed by the onClose event.

Original comment by diosla...@gmail.com on 11 Mar 2011 at 7:52