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



   579

Javascript undefined error

by endme - 20 July, 2020 - 01:30 AM
This post is by a banned member (endme) - Unhide
endme  
Registered
64
Posts
13
Threads
5 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.sh/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.201
Posts
412
Threads
7 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.824
Posts
400
Threads
6 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.

[Image: crash-signature.gif]
ad by @Crash [exp 27/11/25]

[Image: 81QoXii.gif]
ad by @eariel

#1 upgrading service
CLICK HERE TO JOIN OUR CHAT
https://t.me/BabylonUpgrades

[Image: gPbsa4L.gif]

ad by @CorruptionV

This post is by a banned member (Pruned110902) - Unhide
5.470
Posts
44
Threads
6 Years of service
#4
When give me personal coding lessons?xd
[Object: Error]

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)