Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8053405
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T07:49:57+00:00 2026-06-05T07:49:57+00:00

The commented out code at https://github.com/DjangoCoder/DjangoGUI/blob/master/templates/base.html on lines 192, 193, 196, 197, 199, and

  • 0

The commented out code at https://github.com/DjangoCoder/DjangoGUI/blob/master/templates/base.html on lines 192, 193, 196, 197, 199, and 205 was freezing the UI up. I could barely use my text editor. I want to uncomment those lines. Is there a way to do so without freezing the UI? The site is at

http://198.144.178.112:8000
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T07:49:58+00:00Added an answer on June 5, 2026 at 7:49 am

    You need to set async to true. That’s the purpose of the async parameter is to allow for this to happen in the background while the browser continues on with the rest of the code.

    Edit: Sorry, here’s more information.

    Starting at line 173, you should change the async parameter in the initialization of the ajax function to true. Like this:

    function testConnection() {
        $.ajax({
            url: "/",
            cache: false,
            async : true,
            error: function(XMLHttpRequest, textStatus, errorThrown) {
                $('#errorbar').css({'height': ($('#header').height()) + 'px'}).show();
            },
            success: function(html){
                $('#errorbar').hide();
            }
        });
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using the django_notification module. https://github.com/pinax/django-notification/blob/master/docs/usage.txt This is what I do in my code
In the about_symbols.rb Ruby Koan (https://github.com/edgecase/ruby_koans), I have the following code: RubyConstant = What
When a piece of code is commented we say just that, it's commented out.
Here's my code. See the line that is commented out. When the element id
I've prepared this bit of code, and as you can see I've commented out
Here is an old add in to quickly comment out HTML code. Maybe I
In python to comment-out multiple lines we use triple quotes def x(): This code
Scraping pages using BeautifulSoup; trying to filter out links that end in ...html#comments Code
This code compiles and runs with either a public implicit bool cast (commented out
This is what I'm referring to: http://twitter.github.com/bootstrap/components.html#badges Is badge the commonly agreed upon term?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.