jquery/jquery-mobile — Issue #2718: Error when included in iframe from non-jqm page
Author: togakangaroo
Created: 2011-10-16 18:39:27+00:00
State: open

* jquery.mobile-1.0rc1
* jquery-1.6.4
* Firefox 7.0.1

I am trying to include my jqm site in an iframe so that I can run some automated js tests on it from the external (same domain) iframe. If the root iframe does not reference jquery mobile (since I don't need it there and it actually gets in the way) I get the following error:

```Error: jQuery.event.special.orientationchange is undefined

Code: var orientation = jQuery.event.special.orientationchange.orientation()
In: jquery.mobile-1.0rc1.js (line 2464)```