[
https://issues.apache.org/jira/browse/CB-542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13257807#comment-13257807
]
Filip Maj commented on CB-542:
------------------------------
Looks to me like online/offline events are not wired up properly in cordova-js
at all. They shouldn't work in any platform using it.
Also the documentations specifies that you attach to these events via
{{document}}, not {{window}}. A lot of fail all around here. Will try to fix it
all today.
> Add manual test page for navigator.network functionality, as well as
> offline/online events to the events manual tests
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: CB-542
> URL: https://issues.apache.org/jira/browse/CB-542
> Project: Apache Callback
> Issue Type: Improvement
> Components: mobile-spec
> Affects Versions: 1.6.1
> Reporter: Filip Maj
> Assignee: Filip Maj
> Fix For: 1.7.0
>
>
> For ease of testing, should add a manual page where we can inspect the
> contents of {{navigator.network.connection.type}}.
> Essentially copying over the [example from the
> docs|http://docs.phonegap.com/en/1.6.1/cordova_connection_connection.md.html#Connection].
> Should also add checking for the online/offline events in the Events manual
> page.
--
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