First time here? Check out the FAQ!
1

Why is askbot incompatible with jQuery 1.7?

In general, jquery should be backward-compatible, so I tried bumping askbot jquery from 1.4.3 to 1.7.1.

I immediately got a "jQuery.handleError is not a function" error (when uploading an image), maybe there are other errors too. Apparently askbot uses some jquery 1.4.3 features that disappeared in later versions.

Are these features vital? Are there plans to support a newer jquery release?

piskvorky's avatar
350
piskvorky
asked 2012-02-21 11:50:56 -0500
Evgeny's avatar
13.2k
Evgeny
updated 2012-02-21 14:06:35 -0500
edit flag offensive 0 remove flag close merge delete

Comments

Hey, I've edited your title a bit.

Evgeny's avatar Evgeny (2012-02-21 14:07:40 -0500) edit
add a comment see more comments

1 Answer

1

From what people say about jQuery it does seem to be backwards compatible.

Maybe the issues we have are due to incompatibility in the plugins and possibly our own code, I think there is no magic solution here, but to debug the code.

We probably should isolate javascript used in askbot into a separate namespace, so that we could use whatever version we want, without competing with other code.

I don't know when this will be done, at this moment this is not the highest priority.

Evgeny's avatar
13.2k
Evgeny
answered 2012-02-21 14:05:33 -0500
edit flag offensive 0 remove flag delete link

Comments

2

Ok, thanks. For the moment, I "solved" the problem by using both jquery versions at once, using the $.noConflict(); syntax.

piskvorky's avatar piskvorky (2012-02-22 04:30:12 -0500) edit
add a comment see more comments