[jira] [Commented] (CB-1846) Offline event doesn't work

2012-11-15 Thread Remzi Cavdar (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-1846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13497855#comment-13497855
 ] 

Remzi Cavdar commented on CB-1846:
--

So can anyone look at the code?
I have attached a .zip file with my code.

 Offline event doesn't work
 --

 Key: CB-1846
 URL: https://issues.apache.org/jira/browse/CB-1846
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 2.2.0
 Environment: Samsung Galaxy S2 and Google Nexus 7
Reporter: Remzi Cavdar
Assignee: Joe Bowser
 Fix For: 2.2.0

 Attachments: Menofood BETA.zip


 The offline event doesn't work and I had said this before release, but you 
 guys wanted to release PhoneGap 2.2.0 
 This is my code:
 document.addEventListener(deviceready, onDeviceReady, false);
 function onDeviceReady() {
   document.addEventListener(offline, function() {
   alert(Er is geen internet verbinding!\nSchakel Wifi of 3G in);
   }, false);
 }
 /* English: alert(No internet connection!\nPlease turn on Wifi or 3G);  */

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-1846) Offline event doesn't work

2012-11-14 Thread Simon MacDonald (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-1846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13497128#comment-13497128
 ] 

Simon MacDonald commented on CB-1846:
-

Quick question, is this on the first page of your app or on a secondary page? 
The reason I ask is I just fixed a bug similar to this for all subsequent pages 
in the app.

 Offline event doesn't work
 --

 Key: CB-1846
 URL: https://issues.apache.org/jira/browse/CB-1846
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 2.2.0
 Environment: Samsung Galaxy S2 and Google Nexus 7
Reporter: Remzi Cavdar
Assignee: Joe Bowser
 Fix For: 2.2.0


 The offline event doesn't work and I had said this before release, but you 
 guys wanted to release PhoneGap 2.2.0 
 This is my code:
 document.addEventListener(deviceready, onDeviceReady, false);
 function onDeviceReady() {
   document.addEventListener(offline, function() {
   alert(Er is geen internet verbinding!\nSchakel Wifi of 3G in);
   }, false);
 }
 /* English: alert(No internet connection!\nPlease turn on Wifi or 3G);  */

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-1846) Offline event doesn't work

2012-11-14 Thread Remzi Cavdar (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-1846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13497134#comment-13497134
 ] 

Remzi Cavdar commented on CB-1846:
--

Both

 Offline event doesn't work
 --

 Key: CB-1846
 URL: https://issues.apache.org/jira/browse/CB-1846
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 2.2.0
 Environment: Samsung Galaxy S2 and Google Nexus 7
Reporter: Remzi Cavdar
Assignee: Joe Bowser
 Fix For: 2.2.0


 The offline event doesn't work and I had said this before release, but you 
 guys wanted to release PhoneGap 2.2.0 
 This is my code:
 document.addEventListener(deviceready, onDeviceReady, false);
 function onDeviceReady() {
   document.addEventListener(offline, function() {
   alert(Er is geen internet verbinding!\nSchakel Wifi of 3G in);
   }, false);
 }
 /* English: alert(No internet connection!\nPlease turn on Wifi or 3G);  */

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-1846) Offline event doesn't work

2012-11-14 Thread Remzi Cavdar (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-1846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13497135#comment-13497135
 ] 

Remzi Cavdar commented on CB-1846:
--

I use this for every html page of my app :P

 Offline event doesn't work
 --

 Key: CB-1846
 URL: https://issues.apache.org/jira/browse/CB-1846
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 2.2.0
 Environment: Samsung Galaxy S2 and Google Nexus 7
Reporter: Remzi Cavdar
Assignee: Joe Bowser
 Fix For: 2.2.0


 The offline event doesn't work and I had said this before release, but you 
 guys wanted to release PhoneGap 2.2.0 
 This is my code:
 document.addEventListener(deviceready, onDeviceReady, false);
 function onDeviceReady() {
   document.addEventListener(offline, function() {
   alert(Er is geen internet verbinding!\nSchakel Wifi of 3G in);
   }, false);
 }
 /* English: alert(No internet connection!\nPlease turn on Wifi or 3G);  */

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-1846) Offline event doesn't work

2012-11-14 Thread Remzi Cavdar (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-1846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13497137#comment-13497137
 ] 

Remzi Cavdar commented on CB-1846:
--

But this was my reason to not release an unstable PhoneGap to devlopers 

 Offline event doesn't work
 --

 Key: CB-1846
 URL: https://issues.apache.org/jira/browse/CB-1846
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 2.2.0
 Environment: Samsung Galaxy S2 and Google Nexus 7
Reporter: Remzi Cavdar
Assignee: Joe Bowser
 Fix For: 2.2.0


 The offline event doesn't work and I had said this before release, but you 
 guys wanted to release PhoneGap 2.2.0 
 This is my code:
 document.addEventListener(deviceready, onDeviceReady, false);
 function onDeviceReady() {
   document.addEventListener(offline, function() {
   alert(Er is geen internet verbinding!\nSchakel Wifi of 3G in);
   }, false);
 }
 /* English: alert(No internet connection!\nPlease turn on Wifi or 3G);  */

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-1846) Offline event doesn't work

2012-11-14 Thread Joe Bowser (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-1846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13497534#comment-13497534
 ] 

Joe Bowser commented on CB-1846:


I can't reproduce this issue either, and I've tested it on my Galaxy 
Nexus(4.1.2), Nexus S (2.3.6) and Samsung Galaxy SII (4.0.3).

 Offline event doesn't work
 --

 Key: CB-1846
 URL: https://issues.apache.org/jira/browse/CB-1846
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 2.2.0
 Environment: Samsung Galaxy S2 and Google Nexus 7
Reporter: Remzi Cavdar
Assignee: Joe Bowser
 Fix For: 2.2.0


 The offline event doesn't work and I had said this before release, but you 
 guys wanted to release PhoneGap 2.2.0 
 This is my code:
 document.addEventListener(deviceready, onDeviceReady, false);
 function onDeviceReady() {
   document.addEventListener(offline, function() {
   alert(Er is geen internet verbinding!\nSchakel Wifi of 3G in);
   }, false);
 }
 /* English: alert(No internet connection!\nPlease turn on Wifi or 3G);  */

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira