View editor drag and drop broken on iPhone/iPad
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
François Marier |
Bug Description
From http://
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.
> forEach(
> setNodeAttribute(i, 'style', 'display:inline');
> });
> }
>
> }
1116a1125,1129
>
> // Whether the brower is iPhone, IPad or IPod
> if ((navigator.
> this.isIE6 = true;
> }
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) |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
not being able to drag and drop also reported in http:// twitter. com/richardnz/ statuses/ 16812585962