changeset 5612:b4c9d8ff1ce0

iOS: FIX for https://javafx-jira.kenai.com/browse/RT-34010
author Oldrich Maticka <oldrich.maticka@oracle.com>
date Fri, 01 Nov 2013 13:00:26 +0100
parents 6af0f4099136
children f3bf3ded31a0
files modules/web/src/ios/java/javafx/scene/web/JS2JavaBridge.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/modules/web/src/ios/java/javafx/scene/web/JS2JavaBridge.java	Fri Nov 01 13:20:58 2013 +0400
+++ b/modules/web/src/ios/java/javafx/scene/web/JS2JavaBridge.java	Fri Nov 01 13:00:26 2013 +0100
@@ -117,7 +117,7 @@
         sb = sb.append(getJavaBridge()).append(".exportJSObject(").append(
              getJavaBridge()).append("['").append(jsName).append("'])");
         
-        Long jsId = (Long) webEngine.executeScript(sb.toString());
+        Integer jsId = (Integer) webEngine.executeScript(sb.toString());
         exportedObjectsByJSIds.put(jsId.toString(), jsObj);
         jsIdsByExportedObjects.put(jsObj, jsId.toString());
         log("populateObject<<executeScript");