[richfaces-issues] [JBoss JIRA] (RF-11512) mobile showcase - on iPad there is JS error shown by developer console - TypeError: Result of expression 'jQuery.ui' [undefined] is not an object.
Juraj Huska (Commented) (JIRA)
jira-events at lists.jboss.org
Wed Oct 12 06:01:22 EDT 2011
[ https://issues.jboss.org/browse/RF-11512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12634111#comment-12634111 ]
Juraj Huska commented on RF-11512:
----------------------------------
IMHO the line in the error message is quite misleading. If I have correct source code than the line:
jQuery.ui is mentioned in this context:
{code:xml}
<script type="text/javascript">
(function (jQuery) {
jQuery.support.touch = typeof Touch === 'object';
if (!jQuery.support.touch) {
return;
}
var mouseProto = jQuery.ui.mouse.prototype,
_mouseInit = mouseProto._mouseInit,
_mouseDown = mouseProto._mouseDown,
_mouseUp = mouseProto._mouseUp,
mouseEvents = {
touchstart: 'mousedown',
touchmove: 'mousemove',
touchend: 'mouseup'
};
{code}
> mobile showcase - on iPad there is JS error shown by developer console - TypeError: Result of expression 'jQuery.ui' [undefined] is not an object.
> --------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: RF-11512
> URL: https://issues.jboss.org/browse/RF-11512
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: mobile, showcase
> Affects Versions: 4.1.0.Milestone3
> Environment: app: richfaces-showcase-4.1.0.20111011-M3
> container: JBoss AS 7.0.2.Final
> mobile device:
> iPad1 - OS version iOS 4.2.1 - browser Safari
> Reporter: Juraj Huska
> Attachments: photo.PNG, sourceWrong
>
>
> When the page is refreshed this error is captured by developer console on Safari:
> {code}
> TypeError: Result of expression 'jQuery.ui' [undefined] is not an object.
> {code}
> The error is generated for every page, but not shown without explicit refresh of the page(maybe this is the issue of developer console).
> The error message is not very verbose, there is only line.
> I am enclosing the source code of page where the error occured, and the error from console.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list