Check for the tinymce instance before accessing it (Bug #1365224)
So it will not break responsive design on mobile devices that can't
handle tinyMCE
Note: this does not fix the issues in the admin section for editing
sitepages as I figure that admins should be not editing the admin
section in a moble device.
Change-Id: If4eb087114bb2b7242982e60f790d2a4d24932dc
Signed-off-by: Robert Lyon <email address hidden>
Reviewed: https:/ /reviews. mahara. org/3678 gitorious. org/mahara/ mahara/ commit/ b88b4112071665e 249b40e5bc5265b 13356d5e6f
Committed: http://
Submitter: Son Nguyen (<email address hidden>)
Branch: master
commit b88b4112071665e 249b40e5bc5265b 13356d5e6f
Author: Robert Lyon <email address hidden>
Date: Thu Sep 4 14:18:04 2014 +1200
Check for the tinymce instance before accessing it (Bug #1365224)
So it will not break responsive design on mobile devices that can't
handle tinyMCE
Note: this does not fix the issues in the admin section for editing
sitepages as I figure that admins should be not editing the admin
section in a moble device.
Change-Id: If4eb087114bb2b 7242982e60f790d 2a4d24932dc
Signed-off-by: Robert Lyon <email address hidden>