Illegal call error in XPages mobile application

I have an XPages mobile app using a single page app design template. When I open the application using my iPhone 6, none of the links work.

When I open the application on my Chrome browser, first installing the user agent and then opening the URL, I see a JavaScript “illegal call” error every time I click on the link.

If I open the application on my Chrome Chrome browser by first opening the URL and then installing the user agent, I no longer get the “illegal call” error, and the links work, but the theme is black (background) and white (text).

My xsp properties:

xsp.ajax.renderwholetree=false
xsp.error.page.default=true
xsp.library.depends=com.ibm.xsp.extlib.library
xsp.persistence.mode=fileex
xsp.resources.aggregate=false
xsp.user.timezone=true
xsp.html.doctype=html
xsp.theme.mobile.pagePrefix=m_
xsp.client.resources.uncompressed=true
xsp.application.forcefullrefresh=true

Illegal call error: (anonymous function) @ dojo.js:14753which is the following line:var firstChangeTouch = event.changedTouches[0];

:

Domino 9.0.1 901v00_14.201 .

- Safari iPhone Mac. , , :

: ​​ 'changedTouches' , TouchEvent. dojo.js 14753, : var firstChangeTouch = event.changedTouches[0];

: TypeError: readonly. dojo.js 14756, : event[i] = firstChangeTouch[i];

+4
1

​​ Domino 9.0.1 Fix Pack 2 Interim Fix 1. FP2 .

, iOS 8 , Dojo. . http://www-01.ibm.com/support/docview.wss?uid=swg21686751

+4

Source: https://habr.com/ru/post/1618942/


All Articles