incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clement Vollet (JIRA)" <>
Subject [jira] [Created] (CB-751) And undefined function is called when orientation change
Date Fri, 11 May 2012 01:23:49 GMT
Clement Vollet created CB-751:

             Summary: And undefined function is called when orientation change
                 Key: CB-751
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
    Affects Versions: 1.7.0
         Environment: ipod, ios 5.1
            Reporter: Clement Vollet
            Assignee: Shazron Abdullah
            Priority: Minor

I get an undefined exception when changing the orientation of the device.
Steps to "recreate":

in a new project, add the following in index.html:

	function onDeviceReady()
		// do your thing!
		navigator.notification.alert("Cordova is working")
        window.onerror=function(error_msg, URL, line_number) {
            console.log("WINDOW > Message: " + error_msg);
            console.log("WINDOW > URL: " + URL);
            console.log("WINDOW > Line: " + line_number);

And then in the simulator, rotate the screen.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message