[dokuwiki] Re: MultiUpload + JS error
- From: "Gerry Weißbach" <gerry.w@xxxxxxxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: 23 Jul 2008 10:48:37 +0200
>> I updatad to the latest devel version today ... and I still have the same
>> problem. Any help on this?
>
>It still works fine for me. But better open a bug report.
Ok. I'll do that and investigate it further on my installation.
>> In addition I get a JS error on FF3 - the problem is right in the
>> tw-sack.js in the definition of: this.xmlhttp = new
>> ActiveXObject("Msxml2.XMLHTTP");
>>
>> I had to surround both calls with an if-statement. Would be good to
>> change this in the core code too.
>
>I don't have the code at hand but isn't there a try/catch block around it?
Yep, there is. It looks like its not really the firefox messing up the
script - its more like one of the plugins (firebug / tidy). I says the
script cant change the values of (firebug/tidy object).xmlhttp:
FirebugContext.browser is undefined
createAJAX()()js.php?e...0&write=1 (line 982)
sack("https://web2k8/lib/plugins/searchindex/ajax.php")js.php?e...0&write=1
(line 1092)
js.php?edit=0&write=1()()js.php?e...0&write=1 (line 2271)
[Break on this error] this.xmlhttp = new
ActiveXObject("Microsoft.XMLHTTP");
Inserting:
if ( new ActiveXObject("Msxml2.XMLHTTP") ) {
this.xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
}
} catch (e) {
try {
if ( new ActiveXObject("Microsoft.XMLHTTP") ) {
this.xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
}
Solves that in my case ...
Strange I think.
Gerry.
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- Follow-Ups:
- [dokuwiki] Re: MultiUpload + JS error
- From: Gerry Weißbach
- References:
- [dokuwiki] Re: MultiUpload + JS error
- From: Andreas Gohr
Other related posts:
- » [dokuwiki] MultiUpload + JS error
- » [dokuwiki] Re: MultiUpload + JS error
- » [dokuwiki] Re: MultiUpload + JS error
- » [dokuwiki] Re: MultiUpload + JS error
- » [dokuwiki] Re: MultiUpload + JS error
- » [dokuwiki] Re: MultiUpload + JS error
- » [dokuwiki] Re: MultiUpload + JS error
- [dokuwiki] Re: MultiUpload + JS error
- From: Gerry Weißbach
- [dokuwiki] Re: MultiUpload + JS error
- From: Andreas Gohr