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

Axel Nennker commented on CB-8364:
----------------------------------

I get the same "warnings" and no errors.
Nevertheless when I add "if (!lastName) continue;" to cordova.js my app works 
again.
The difference between works and not-working is that "not-working" means:
The app does not react to any touch event. So it is unusable.

-Axel

W/HSV@MWC ( 2098): [JavaScript Warning: "Empty string passed to 
getElementById()." {file: "app://twe.gaiamobile.org/cordova.js" line: 1175}]
W/HSV@MWC ( 2098): [JavaScript Warning: "Empty string passed to 
getElementById()." {file: "app://twe.gaiamobile.org/cordova.js" line: 466}]

I can't work on this today.



> InAppBrowser reports two errors in the console.
> -----------------------------------------------
>
>                 Key: CB-8364
>                 URL: https://issues.apache.org/jira/browse/CB-8364
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: FirefoxOS
>            Reporter: Piotr Zalewa
>            Assignee: Piotr Zalewa
>
> From Axel Nennker's (telekom.de) email:
> The firefoxos version of the app reports two errors in the console log.
> Cordova.js:466 getElementByID called with empty id (or similar)
> Cordova.js:1171   - " -
> In line 1171 this is cause by lastName being null.
> https://github.com/apache/cordova-firefoxos/blob/master/cordova-lib/cordova.js#L1171
> The value of moduleName at that time is InAppBrowserProxy.
> I fixed this by inserting in line 1172:
> If (!lastName) continue;
> In line 466 key is null or undefined.
> https://github.com/apache/cordova-firefoxos/blob/master/cordova-lib/cordova.js#L466
> I have no idea why this happens on FirefoxOS but not on the other platforms.
> My current guess is that
> https://github.com/apache/cordova-plugin-inappbrowser/blob/master/plugin.xml#L203
> does not get digested on FirefoxOS as on the other platforms.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to