Home
Forum
Extensions
Discord
Shoutbox
Social Slider
Documentation
Login
Username
Password
Remember Me
Log in
Create an account
Forgot your username?
Forgot your password?
Toggle Main Navigation
11.2.0PRO: Shoutbox Edit & Delete only working with Debug System = ON
Start
Prev
1
Next
End
1
Hulst
Topic Author
Posts: 22
11 months 3 weeks ago
#4620
by
Hulst
11.2.0PRO: Shoutbox Edit & Delete only working with Debug System = ON
was created by
Hulst
Hello,
At this moment I use 11.2.0PRO in J5.4.0 (and J4.4.14), but the problem is also in older version.
When logged in as Super User, the Delete or Edit a shout is only working when in Global Configuration the Debug System = On.
With Debug System =Off the message in a debugger is:
Uncaught ReferenceError: shoutbox is not defined
I tried to solve, but with no succes.
Regards,
Peter
Please
Log in
or
Create an account
to join the conversation.
Hulst
Topic Author
Posts: 22
11 months 3 weeks ago
#4621
by
Hulst
Replied by
Hulst
on topic
11.2.0PRO: Shoutbox Edit & Delete only working with Debug System = ON
Hello,
I think that I discovered the error.
In mod_shoutbox.js the first line is: const shoutbox = window.shoutbox || {};
Here "shoutbox" is defined.
However in mod_shoutbox.min.js, the first line is: const Q=window.shoutbox||{};
Here "shoutbox" is NOT defined, but renamed in "Q"
I have attached a better mod_shoutbox.min.js, generated with
minify-js.com/
Here the name is remained and now it works.
Please
Log in
or
Create an account
to join the conversation.
Hulst
Topic Author
Posts: 22
11 months 3 weeks ago
#4622
by
Hulst
Replied by
Hulst
on topic
11.2.0PRO: Shoutbox Edit & Delete only working with Debug System = ON
I mailed the attached file.
Please
Log in
or
Create an account
to join the conversation.
Lodder
Posts: 1264
11 months 3 weeks ago
#4623
by
Lodder
Replied by
Lodder
on topic
11.2.0PRO: Shoutbox Edit & Delete only working with Debug System = ON
Hi Hulst,
Oops, this must be due to the nee JS minifier I switched to. I'll release an update tomorrow morning with a fix.
Regards,
Lodder
Please
Log in
or
Create an account
to join the conversation.
Start
Prev
1
Next
End
1
Powered by
Kunena Forum