HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


[RESOLVED] - 8.1.2 - Issue when composing a post in a non-WYSIWYG window

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#88603 (In Topic #17942)
Avatar

Community saint

Difficult to explain - but I'll give it a try. No images available as the error happens so fast that I don't have time to capture anything

  • non-WYSIWYG window
  • type in post
  • highlight a word and click The 'Bold' or 'Italic' buttons
  • popup error window appears mentioning some sort of JavaScript error but doesn't stay long enough to capture or read
  • window refreshes and returns to (in this instance) the forum without the bolded or italicised text

Post can be edited, so …
  • click edit
  • select word and manually add comcode-bold or comcode-italic
  • save
  • post is rendered correctly

 :o


Last edit: by Fletch

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#88619
Avatar

Couldn't reproduce this one. Usually for these kinds of errors, pressing the 'Escape' key really quickly will catch them (i.e. before it navigates away).


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#88626
Avatar

Community saint

I feel a vid coming on.

Will see if I can replicate this little sucker …!

 :thumbs:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#88630
Avatar

Community saint



It looks like the cached js file is 'javascript_posting.js', but I can't be certain because it gets truncated in the window.

There are other '-p' cached files, e.g.
  • javascript_profile.js
  • javascript_pulse.js ←(my sig is pulsed)
  • javascript_pulse_mobile
… but these are all wild guesses!

 :thumbs:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#88646
Avatar

Hi,

I just had a look on your site and this seems to actually be an old bug, might be a coincidence it was found now. Please reupload the latest themes/default/templates/JAVASCRIPT_EDITING.tpl or if there is a problem in your override (I didn't check if you have one) then in that override replace all ensure1_id with ensure_true_id.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#88649
Avatar

Community saint

No luck with this one either …

Chris Graham said

  • 1. Please reupload the latest themes/default/templates/JAVASCRIPT_EDITING.tpl
  • 2. or if there is a problem in your override (I didn't check if you have one)
  • 3. then in that override replace all ensure1_id with ensure_true_id.
1. did it …

2. there was an override (but see 3.)

3. wasn't necessary. I removed the override …

bummer

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#88653
Avatar

Works for me on your site now, maybe your browser cached the JS file.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#88655
Avatar

Community saint

Chris Graham said

Works for me on your site now, maybe your browser cached the JS file.

Yes, Chris. The browser cache looks like the most likely culprit, since I had been refreshing/reloading/deleting various caches like a one-armed-paper-hanger, and I probably overlooked that one!

I sit here suitably embarrassed …!!

 :thumbs:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: