incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-501) orientationchange event is not being fired in 1.6.0
Date Fri, 13 Apr 2012 19:24:17 GMT

    [ https://issues.apache.org/jira/browse/CB-501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13253669#comment-13253669
] 

Shazron Abdullah commented on CB-501:
-------------------------------------

Test code used:
{code}
	function onBodyLoad()
	{		
		document.addEventListener("deviceready", onDeviceReady, false);
	}

    function onDeviceReady()
    {
        window.addEventListener("orientationchange", onOrientationChange, false);
    }
        
    function onOrientationChange()
    {
        alert(window.orientation);
    }
{code}
                
> orientationchange event is not being fired in 1.6.0
> ---------------------------------------------------
>
>                 Key: CB-501
>                 URL: https://issues.apache.org/jira/browse/CB-501
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 1.6.0
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>            Priority: Blocker
>             Fix For: 1.6.1
>
>
> Offending line:
> https://github.com/apache/incubator-cordova-ios/blob/master/CordovaLib/Classes/CDVViewController.m#L307
> Lower-case Cordova to cordova.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message