You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to transform an existing website into a mobile-conform one. I'm using the JSF framework Primefaces 6.1. After I added the following line to my index file, the image viewer doesn't work anymore:
<f:view renderKitId="PRIMEFACES_MOBILE"/>
I received the fe following error messages in Chrome Dev tools:
jquery.iviewer.js:43 Uncaught TypeError: Cannot read property 'prototype' of undefined
at jquery.iviewer.js:43
at jquery.iviewer.js:1297
(anonymous) @ jquery.iviewer.js:43
(anonymous) @ jquery.iviewer.js:1297
And:
Access_Mobile.xhtml:68 Uncaught TypeError: $(...).iviewer is not a function
at HTMLDocument. (Access_Mobile.xhtml:68)
at fire (jquery-1.8.3.js:974)
at Object.fireWith [as resolveWith] (jquery-1.8.3.js:1084)
at Function.ready (jquery-1.8.3.js:406)
at HTMLDocument.DOMContentLoaded (jquery-1.8.3.js:83)
Does anyone know how to fix that?
Thanks,
Mohammas
The text was updated successfully, but these errors were encountered:
I've never heard about this framework and can only guess, but looking at the line of error I suppose that you don't have jquery ui library included on the page.
Please note, that I do not support this plugin for several years already and it may not work with current version jquery UI (if at all). If you manage to fix it, please open pull request and I'll merge the change.
Hello,
I'm trying to transform an existing website into a mobile-conform one. I'm using the JSF framework Primefaces 6.1. After I added the following line to my index file, the image viewer doesn't work anymore:
<f:view renderKitId="PRIMEFACES_MOBILE"/>
I received the fe following error messages in Chrome Dev tools:
And:
Does anyone know how to fix that?
Thanks,
Mohammas
The text was updated successfully, but these errors were encountered: