RSS Feed/News Form not cleared after posting report

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
23,485
Points
823

Reputation:

After posting report successfully if you click the report button again you will see the message report still there and not cleared.

Some quick solutions i was tested it:

First solution:
I change data-skip-overlay-redirect in report_create template to false to refresh the page and clear form.

Second solution:

I create new js file with this code and i inject it to helper_js_global template:

JavaScript:

Code:
((window, document) => {
    "use strict";

XF.on(document...

Read more

Continue reading...
 
Status
Not open for further replies.
Top