Ticket #6804. Adds a changeData event.
This commit is contained in:
parent
6a0942c9d5
commit
2e10af143b
2 changed files with 21 additions and 5 deletions
|
@ -129,6 +129,7 @@ jQuery.fn.extend({
|
|||
} else {
|
||||
return this.trigger("setData" + parts[1] + "!", [parts[0], value]).each(function() {
|
||||
jQuery.data( this, key, value );
|
||||
jQuery.event.trigger( "changeData" + parts[1] + "!", [parts[0], value], this );
|
||||
});
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue