6.0.0-beta1
7/5/25

[#11249] smartmobile.js javascript errors
Summary smartmobile.js javascript errors
Queue Horde Framework Packages
Queue Version Git develop
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester leena.heino (at) uta (dot) fi
Created 07/09/2012 (4744 days ago)
Due
Updated 07/11/2012 (4742 days ago)
Assigned 07/09/2012 (4744 days ago)
Resolved 07/11/2012 (4742 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
07/11/2012 07:33:30 AM Michael Slusarz Comment #10
Assigned to Michael Slusarz
State ⇒ Resolved
Reply to this comment
This was actually solved by disabling javascript cache in horde.
This was due to jsmin not being able to properly compress the jquery 
mobile script.  It was fixed upstream last week in Douglas Crockford's 
jsmin.c and has been merged to our PHP port.
07/09/2012 06:45:31 PM leena (dot) heino (at) uta (dot) fi Comment #9 Reply to this comment
No idea then. Sounds like you badly hosed your installation. Try a 
fresh install.
This was actually solved by disabling javascript cache in horde.

It seems that if javascript cache is enabled  in horde then these 
errors start to happen and some javascript script might not load 
properly.
07/09/2012 05:26:09 PM Jan Schneider Comment #8 Reply to this comment
No idea then. Sounds like you badly hosed your installation. Try a 
fresh install.
07/09/2012 04:58:38 PM leena (dot) heino (at) uta (dot) fi Comment #7 Reply to this comment
You mean *doesn't work*?
Yes, exactly. It made no difference if the jquery.mobile directory 
exists on the server or not. The smart mobile mode was broken in both 
cases.
07/09/2012 04:48:40 PM Jan Schneider Comment #6 Reply to this comment

[Show Quoted Text - 17 lines]
You mean *doesn't work*?
07/09/2012 04:34:42 PM leena (dot) heino (at) uta (dot) fi Comment #5 Reply to this comment
I don't see how this could happen, unless jquery.mobile(.min).js is
not loaded at all.
Is jquery.mobile.min.js loaded only when using minimal mobile mode?
No, it's the jQuery Mobile framework for the smartphone mode.
You are correct. It seems jQuery files are not loaded.

As a test I did this:
1. remove jquery.mobile directory and any files or symlinks it contained.
2. Clear cache in server and in browser
3. Remove generated js and css files from static directory
4. Restart server process
5. Log in and with Smart Mobile mode.
6. Everything looks and works the same with and without jquery.mobile 
directory
07/09/2012 03:55:59 PM Jan Schneider Comment #4 Reply to this comment
I don't see how this could happen, unless jquery.mobile(.min).js is
not loaded at all.
Is jquery.mobile.min.js loaded only when using minimal mobile mode?
No, it's the jQuery Mobile framework for the smartphone mode.
The minimal mobile mode seems to work ok.
07/09/2012 03:37:13 PM leena (dot) heino (at) uta (dot) fi Comment #3 Reply to this comment
I don't see how this could happen, unless jquery.mobile(.min).js is 
not loaded at all.
Is jquery.mobile.min.js loaded only when using minimal mobile mode?

The minimal mobile mode seems to work ok.
07/09/2012 03:27:39 PM Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
I don't see how this could happen, unless jquery.mobile(.min).js is 
not loaded at all.
07/09/2012 02:34:44 PM leena (dot) heino (at) uta (dot) fi Comment #1
Milestone ⇒
State ⇒ Unconfirmed
Patch ⇒ No
Queue ⇒ Horde Framework Packages
Summary ⇒ smartmobile.js javascript errors
Type ⇒ Bug
Priority ⇒ 1. Low
Reply to this comment
Error: Uncaught TypeError: Cannot set property 
'horizontalDistanceThreshold' of undefined
This seems to be caused by the line:
$.event.special.swipe.horizontalDistanceThreshold = 50;

Saved Queries