[rt-devel] HTML vs. plain text editor
Mikko Lehto
mslehto at iki.fi
Mon Nov 23 11:28:58 EST 2015
Matt Zagrabelny <mzagrabe at d.umn.edu> wrote:
> There may be some errors in JS console in your browser.
Hi Matt, thanks for the kick in right direction!
Now I see this with XHR logging and Javascript errors enabled:
---
GET http://rt.domain/Ticket/Update.html [HTTP/1.1 200 OK 501ms]
GET http://rt.domain/NoAuth/css/rudder/squished-e94f4fd9bce9a4e038d25a7a9d07571f.css [HTTP/1.1 200 OK 0ms]
GET http://rt.domain/NoAuth/js/squished-bf4b1701ea2422a43504908c42d926d9.js [HTTP/1.1 200 OK 0ms]
TypeError: CKEDITOR.instances.UpdateContent is undefined Update.html:557:7
GET http://rt.domain/static/images/favicon.png [HTTP/1.1 200 OK 0ms]
GET http://rt.domain/NoAuth/css/rudder/squished-e94f4fd9bce9a4e038d25a7a9d07571f.css [HTTP/1.1 200 OK 0ms]
GET http://rt.domain/NoAuth/css/rudder/squished-e94f4fd9bce9a4e038d25a7a9d07571f.css [HTTP/1.1 200 OK 0ms]
---
Browser is Firefox 40.0.3
(Mozilla/5.0 (X11; FreeBSD amd64; rv:40.0) Gecko/20100101 Firefox/40.0)
Update.html line 557 is:
554: <script type="text/javascript">
555: jQuery( function() {
556: var updateScrips = function() {
557: CKEDITOR.instances['UpdateContent'].updateElement();
558: var syncCheckboxes = function(ev) {
559: var target = ev.target;
560: jQuery("input[name=TxnSendMailTo]").filter( function() {
561: return this.value == target.value; }
562: ).prop("checked",jQuery(target).prop('checked'));
563: };
Unfortunately I lack Javascript skills to track properly where CKEDITOR
is loaded or initialised.
Anyway, still seems to be related somehow to scrips, so I guess it's
learning time for me. Some pointers ofcourse still appreciated.
--
Mikko Lehto
More information about the rt-devel
mailing list