Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



 548

Javascript undefined error

by endme - 20 July, 2020 - 01:30 AM
This post is by a banned member (endme) - Unhide
endme  
Registered
66
Posts
13
Threads
4 Years of service
#1
Error
[Image: Jy4pWNG.png]

Condition
If the thread is locked or guest (non logged in user) viewing thread

Why it is happening
CKeditor is not loaded because either thread doesn't have quick reply editor at the bottom

Impact
Unhide button is not working when page is changed with pagination
Further explanation: Go to this thread https://cracked.to/Thread-Me-Hans69-KSZ change page from pagination (like go to 2nd page) and try to unhide banned user's post.

Fix 1 (optional)
Either remove ckeditor scripts (and files) when thread is locked or when guest is browsing the thread

Fix 2 (necessary)
This condition in rineditor.js file, check for CKEDITOR.instances[Object.keys(CKEDITOR.instances)[0]] !== 'undefined'

[Image: Gl4Wxxn.png]
This post is by a banned member (Her) - Unhide
Her  
Angelic
2.212
Posts
412
Threads
6 Years of service
#2
@J_S your a fucking idiot
This post is by a banned member (J_S) - Unhide
J_S  
Premium Member
1.845
Posts
395
Threads
5 Years of service
#3
(20 July, 2020 - 01:38 AM)Her Wrote: Show More
@J_S your a fucking idiot

Nigga the editor isn't mine.
This post is by a banned member (Pruned110902) - Unhide
8.416
Posts
789
Threads
5 Years of service
#4
When give me personal coding lessons?xd
[Image: image.png]
Quality Handcrafted Accounts Verified For Your Needs


Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.



Forum Jump:


Users browsing this thread: 1 Guest(s)