Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Request Tracker: Commit

rt branch, 3.8-trunk, updated. rt-3.8.6-94-g90fa1f4

 

 

Request Tracker commit RSS feed   Index | Next | Previous | View Threaded


falcone at bestpractical

Nov 20, 2009, 10:39 AM

Post #1 of 1 (331 views)
Permalink
rt branch, 3.8-trunk, updated. rt-3.8.6-94-g90fa1f4

The branch, 3.8-trunk has been updated
via 90fa1f465e557daea803d2a3f69d401fe9b2cf0f (commit)
from 68425c35ff842f8ef0d31d5db8480f42012747c8 (commit)

Summary of changes:
share/html/Elements/HeaderJavascript | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 90fa1f465e557daea803d2a3f69d401fe9b2cf0f
Author: Kevin Falcone <falcone [at] bestpractical>
Date: Fri Nov 20 13:36:58 2009 -0500

Skip the richtext editor for android and iphone devices

Although they're webkit > 422 (which is what FCKeditor checks for)
the browser won't pop up the keyboard or react to input events,
rendering the rich text editor useless for these mobile devices.

Resolves 14070

diff --git a/share/html/Elements/HeaderJavascript b/share/html/Elements/HeaderJavascript
index be12d48..6ee88a1 100644
--- a/share/html/Elements/HeaderJavascript
+++ b/share/html/Elements/HeaderJavascript
@@ -69,7 +69,10 @@ $onload => undef

% if ( RT->Config->Get('MessageBoxRichText', $session{'CurrentUser'})) {
function ReplaceAllTextareas() {
- if (!FCKeditor_IsCompatibleBrowser())
+ var sAgent = navigator.userAgent.toLowerCase();
+ if (!FCKeditor_IsCompatibleBrowser() ||
+ sAgent.indexOf('iphone') != -1 ||
+ sAgent.indexOf('android') != -1 )
return false;

// replace all content and signature message boxes

-----------------------------------------------------------------------
_______________________________________________
Rt-commit mailing list
Rt-commit [at] lists
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-commit

Request Tracker commit RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.