mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #47118
[Bug 1755674] Re: tinyMCE not defined error in comment on SE colection
As we are not using a tinyMCE form for comments when logged out but instead a normal text field, there is an exception in annotation.js file.
It fails when calling isTinyMceUsed()
** Description changed:
to test:
- set SE for an institution
- as a member of the institution, create a collection with 2 pages
+
+ Go to admin menu-> Extensions -> Plugin admin and enable annotations
+ create a page and add an annotation to it
share it with Public
log out and go to the collection first page (not SE view table)
try to leave a comment as anonymous user
the page will be stuck loading and the comment is never submitted
in the browser's console we can see the error:
Uncaught ReferenceError: tinyMCE is not defined
- at isTinyMceUsed (annotation.js?v=7998:14)
- at addFeedbackSuccess (viewmenu.js?v=7998:37)
- at Object.window.pieformHandlers.(/view/anonymous function) [as add_feedback_form] (https://mahara/lib/pieforms/static/core/pieforms.js?v=7998:239:60)
- at sendResult (view.php?id=7:4)
- at onload (view.php?id=7:7)
+ at isTinyMceUsed (annotation.js?v=7998:14)
+ at addFeedbackSuccess (viewmenu.js?v=7998:37)
+ at Object.window.pieformHandlers.(/view/anonymous function) [as add_feedback_form] (https://mahara/lib/pieforms/static/core/pieforms.js?v=7998:239:60)
+ at sendResult (view.php?id=7:4)
+ at onload (view.php?id=7:7)
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1755674
Title:
tinyMCE not defined error in comment on SE colection
Status in Mahara:
New
Bug description:
to test:
Go to admin menu-> Extensions -> Plugin admin and enable annotations
create a page and add an annotation to it
share it with Public
log out and go to the collection first page (not SE view table)
try to leave a comment as anonymous user
the page will be stuck loading and the comment is never submitted
in the browser's console we can see the error:
Uncaught ReferenceError: tinyMCE is not defined
at isTinyMceUsed (annotation.js?v=7998:14)
at addFeedbackSuccess (viewmenu.js?v=7998:37)
at Object.window.pieformHandlers.(/view/anonymous function) [as add_feedback_form] (https://mahara/lib/pieforms/static/core/pieforms.js?v=7998:239:60)
at sendResult (view.php?id=7:4)
at onload (view.php?id=7:7)
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1755674/+subscriptions
References