View editor drag and drop broken on iPhone/iPad

Bug #591584 reported by François Marier
8
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
François Marier

Bug Description

From http://mahara.org/interaction/forum/topic.php?id=1913 :

Hi All,

As we are planning a project that uses Mahara with iPad and iPhone in class, we ran in to a small problem of the drag-and-drop not working in creating and editing views. We solved it by modifing the views.js file to treat the devices as ie6. We post it here to see whether there is better way to solve it and possibly help others who ran into the same problem and want a quick fix :-)

Many Thanks

James

P.S. The patch script (to patch against js/views.js file in version 1.2.4 :

78c78,86
< }
---
> } else {
> // Unhide the radio button if the browser is iPhone, IPad or IPod
> if ((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i)) || (navigator.userAgent.match(/iPad/i))) {
> forEach(getElementsByTagAndClassName('input', 'blocktype-radio', 'top-pane'), function(i) {
> setNodeAttribute(i, 'style', 'display:inline');
> });
> }
>
> }
1116a1125,1129
>
> // Whether the brower is iPhone, IPad or IPod
> if ((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i)) || (navigator.userAgent.match(/iPad/i))) {
> this.isIE6 = true;
> }

Tags: safari
Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

not being able to drag and drop also reported in http://twitter.com/richardnz/statuses/16812585962

Changed in mahara:
importance: Undecided → Medium
status: New → Triaged
milestone: none → 1.3.0
tags: added: safari
Changed in mahara:
assignee: nobody → François Marier (fmarier)
Revision history for this message
François Marier (fmarier) wrote :
Revision history for this message
François Marier (fmarier) wrote :
Changed in mahara:
status: Triaged → Fix Committed
Changed in mahara:
status: Fix Committed → Fix Released
Revision history for this message
Gordon McLeod (g-mcleod1) wrote :

Hi,

I've been testing our Mahara 1.5.2 with an iPad 2 - and while I can see the radio buttons and 'add new block here' button they do nothing - just get 'theme successfully updated' when I click the button. We're using Ultima as our default theme, and users are allowed to change theme for their pages. I saw in the discussion forums https://mahara.org/interaction/forum/topic.php?id=1913 that the iPad works if themes are switched off - but unfortunately our users would get very upset if they couldn't express their creativity by having personalised pages. Is there a solution that will be rolled out to resolve this - and if so in which release?

Thanks, Gordon.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.