Warning: The author of this contribution does not provide support for it anymore.

Live Preview

Solution for "new" chrome console error - Live Preview

Solution for "new" chrome console error

by ViolaF » Mon Feb 23, 2015 3:40 pm

open

livepreview.js

and

livepreview_quick.js (if qr addition is installed)

find

Code: Select all

         xmlHttp.setRequestHeader("Content-length"params.length);
         
xmlHttp.setRequestHeader("Connection""close");    


replace with

Code: Select all

        // xmlHttp.setRequestHeader("Content-length", params.length);
        // xmlHttp.setRequestHeader("Connection", "close");    


background:
current browsers dont need this setRequestHeader anymore,
bcs. newer browsers manages this by itself ;)

thats it
User avatar
ViolaF
Registered User
Posts: 1557
Joined: Tue Aug 14, 2012 11:52 pm
Contact: