Side navigation
#916 closed bug (invalid)
Opened February 05, 2007 06:07AM UTC
Closed March 24, 2007 03:39AM UTC
error handle of ajax & evalScripts with IE
Reported by: | thinker@branda.to | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | ajax | Version: | |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
jQuery don't handle ajax error well. I change some code & interface to deal with situation proposed at a comment of http://alistapart.com/articles/userproofingajax/ .
jQuery.evalScripts is not working with IE. I make another evalScripts, named evalInlineScripts, base on regular expression to replace original one that base on DOM.
following is an uuencoded patch file.
begin 644 jquery.diff
M+2TM(&IQ=65R>2UL871E<W0N:G,)36]N($IA;BR,B
Q,SHT,CHU-2R,#
W
M"BLK*R!J<75E<GDN:G,)4V%T($9E8B@,R
P,SHP-CHU,BR,#
W"D!`("TW
M+#<@*S<L-R!0
H@("H@1'5A;"!L:6-E;G-E9"!U;F1E<B!T:&4@34E4("A-
M250M3$E#14Y312YT>'0I"B`@*B!A;F0@1U!,("A'4$PM3$E#14Y312YT>'0I
M(&QI8V5N<V5S+@H@("H*+2J("1$871E.B
R,#W+3
Q+3(R(#`P.C(W.C4T
M("TP-3P("A-;VXL(#(R($IA;B
R,#W*2
D"BL@*BD1&%T93H@,C
P-RP
M,BP,BQ.3HP-CHU,B
D"B@*B
D4F5V.BQ,34S("0*("
J+PH@"D!`("TQ
M.#4W+#$T("LQ.#4W+#$W($!"B
)"0ED871A.B!P87)A;7,L"B`)"0EI9DUO
M9&EF:65D.B!I9DUO9&EF:65D+`H@"0D)8V]M<&QE=&4Z(&9U;F-T:6]N*')E
M<RP@<W1A='5S*7L*+0D)"0EI9BH('-T871U<R
]/2`B<W5C8V5S<R(@?'P@
M(6EF36]D:69I960@)B8@<W1A='5S(#T](")N;W1M;V1I9FEE9"(@*0HK"0D)
M"6EF("@@<W1A='5S+G-P;&ET*"(@(BE;,%T@(3T@(F5R<F]R(B!?"`A:69-
M;V1I9FEE9"F)B!S=&%T=7,@/3T@(FYO=&UO9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>PHK"0ED871A(#T@9&%T
M82YS=6)S=')I;F<H<W1S*3L**PD)=F%R('-U8B`](&1A=&$N<W5B<W1R:6YG
M*#`L(&1A=&$N<V5A<F-H*"(^(BDI.PHK"0EV87(@=7)L+"!I.PHK"0D**PD)
M:68H<W5B+G-E87)C:"@O<W)C/2]I*2^/2
P*2!["BL)"2`@("!U<FP@/2!S
M=6(N<F5P;&%C92@O+BI;7&Y<=%QR(%US<F,]*");7B)=*R))UM>)UTK)RDN
M*B]I+"B)#$B*3L@+R@(BD["BL)"2
@("!S<F,@/2!S<F,N<W5B<W1R:6YG
M*#$L('-R8RYL96YG=&@@+2Q*3L**R
@("@("
@("@("
@("@("
@=7)L
M(#T@9&%T82YS=6)S=')I;F<H-RD["BL)"2`@("!J475E<GDN9V5T4V-R:7!T
M*'5R;"D["BL)("@("
@("!](&5L<V4@>PHK"0D@("@=F%R(&D["BL)"2
@
M("!I9BAD871A+G-E87)C:"@O/%L@72IS8W)I<'0H/GQ;7CY=*CXI6UQN7'1<
M<B!=*CPA+2TO:2D@(3T@,"D@>PHK"0D)9&%T82`](&1A=&$N<W5B<W1R:6YG
M*&1A=&$N<V5A<F-H*"(^(BD@*R`Q*3L**PD)"6D@/2!D871A+G-E87)C:"@O
M/%PO6R!=*G-C<FEP=%L@72H^+VDI.PHK"0D@("`@?2!E;'-E('L**PD)"61A
M=&$@/2!D871A+G-U8G-T<FEN9RAD871A+G-E87)C:"@B/"$M+2(I("L@-"D[
M"BL)"0EI(#T@9&%T82YS96%R8V@H(BTM/B(I.PHK"0D@("@?0HK"0D@("
@
M:E%U97)Y+F=L;V)A;$5V86PH9&%T82YS=6)S=')I;F<H,"P@:2DI.PHK"0D@
M("@9&%T82
](&1A=&$N<W5B<W1R:6YG*&DI.PHK"0E]"BL)("@('T**R
@
6("@("
@?0HK("@(
H@?2D["B!]"@``
`
end
Attachments (2)
Change History (3)
Changed February 05, 2007 06:12AM UTC by comment:1
Changed February 05, 2007 09:11AM UTC by comment:2
I can't use that patch format. Could you provide a different one or upload your patched version or describe the changes?
Changed March 24, 2007 03:39AM UTC by comment:3
resolution: | → invalid |
---|---|
status: | new → closed |
Yeah, I'm not sure what this is, either. Since there's been no follow-up on this ticket, I'm going to have to close it.