Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi for PHP/Library    [ Add a report in this area ]  
Report #:  103637   Status: Closed
OnMobileInit is only triggered when OnOrientationChange event is defined.
Project:  HTML5 Builder Build #:  4.3.0.1655
Version:    4.0 Submitted By:   Tomohiro Takahashi
Report Type:  Crash / Data loss / Total failure Date Reported:  2/23/2012 12:17:40 AM
Severity:    Serious / Highly visible problem Last Updated: 9/5/2012 7:24:48 PM
Platform:    All platforms Internal Tracking #:   290058
Resolution: Fixed (Resolution Comments) Resolved in Build: : 5.0 RTM
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
OnMobileInit Javascript event is only triggered when the OnOrientationChange Javascript event is defined.

OnMobileInit should be independent from OnOrientationChange.
Steps to Reproduce:
In rpcl/jquerymobile/forms.inc.php

                if($this->_jsonorientationchange !="")
                {
                  echo $this->_jsonmobileinit != ""? $this->_jsonmobileinit . "()\n": "";

must be changed to:

                echo $this->_jsonmobileinit != ""? $this->_jsonmobileinit . "();\n": "";
                if($this->_jsonorientationchange !="")
                {
Workarounds
None
Attachment
None
Comments

None

Server Response from: ETNACODE01