Bug Tracker

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#785 closed bug (fixed)

addClass doesn't seem to work when in an ajax callback that returns nothing

Reported by: [email protected] Owned by:
Priority: major Milestone: 1.1
Component: core Version: 1.1
Keywords: css addclass Cc:
Blocked by: Blocking:

Description (last modified by joern)

Consider the following code...


The addClass method doesn't seem to work in 1.1b when the ajax response is blank. It works fine if the response returns a value. Also, it worked fine in 1.0.4 when the response was blank as well.

Change History (3)

comment:1 Changed 16 years ago by joern

Description: modified (diff)

I can't confirm this. Can you provide a test page? Are you sure the callback is called at all? If the response is empty, the append call doesn't do anything, too.

comment:2 Changed 16 years ago by rich.manalan

comment:3 Changed 16 years ago by john

Resolution: fixed
Status: newclosed
Version: 1.1a1.1

This has been fixed in SVN. Doing .append("") caused an error to occur.

Note: See TracTickets for help on using tickets.