Current time: 05-25-2012, 12:06 AM Hello There, Guest! (LoginRegister)


Quick Reply "Loading..." Doesn't go away...
02-24-2009, 12:26 PM
Post: #11
Solved: 1 Year, 7 Months, 3 Weeks, 2 Days, 10 Hours, 1 Minute, 35 Seconds ago RE: Quick Reply "Loading..." Doesn't go away...
I want to keep the ajax, I just want to remove the loading screen that shows up..
Find all posts by this user
02-24-2009, 01:21 PM
Post: #12
Solved: 1 Year, 7 Months, 3 Weeks, 2 Days, 10 Hours, 1 Minute, 35 Seconds ago RE: Quick Reply "Loading..." Doesn't go away...
I can't guarantee this will work, and I suggest that this is merely a temporary fix to the problem. Hopefully upgrading to 1.4.5 when it comes out will solve your issues.

In ./jscripts/thread.js, you'll find circa line 332:

Code:
        this.quick_replying = 1;
        var post_body = Form.serialize('quick_reply_form');
        this.spinner = new ActivityIndicator("body", {image: imagepath + "/spinner_big.gif"});

Remove...

Code:
this.spinner = new ActivityIndicator("body", {image: imagepath + "/spinner_big.gif"});

This code is called whenever the spinner appears. It's used (unsurprisingly) to show that the page is loading, and a user shouldn't do anything. It is fairly generic, and you'll find it elsewhere in the javascript files. If you want to remove it from other functions (such as quick editing a post) feel free to delete it. It shouldn't provide any javascript errors as there's nothing dependent on it. Each section of code has a if(this.spinner) to check if exists first.
Find all posts by this user
02-24-2009, 01:44 PM
Post: #13
Solved: 1 Year, 7 Months, 3 Weeks, 2 Days, 10 Hours, 1 Minute, 35 Seconds ago RE: Quick Reply "Loading..." Doesn't go away...
Sweet.. thanks Tom..

Like you mentioned "It's used to show that the page is loading, and a user shouldn't do anything".. That is an issue if it doesn't go away.. That will really confuse some people.

I don't think it's a major thing to have anyway. It shouldn't be an issue not having it.

Thanks again Smile
Find all posts by this user
02-24-2009, 04:20 PM (This post was last modified: 02-24-2009 04:20 PM by Tomm M.)
Post: #14
Solved: 1 Year, 7 Months, 3 Weeks, 2 Days, 10 Hours, 1 Minute, 35 Seconds ago RE: Quick Reply "Loading..." Doesn't go away...
Your welcome Smile

I think in some cases the server doesn't send a response to say it's completed the action properly, but don't quote me on that. That means the spinner is never removed, and sticks.

When 1.4.5 is released, upgrade as normal and then (if the js file isn't replaced in the upgrade) update the js file and just see if that fixes it. If not, there isn't any harm in removing it I guess...
Find all posts by this user


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication