mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 09:38:53 +01:00
Stop taglist's ancestor change event from bubbling on taglist
This commit is contained in:
parent
000705d221
commit
9e768dcaac
@ -185,6 +185,10 @@ var et2_taglist = et2_selectbox.extend(
|
|||||||
.on("beforeload", function() {this.container.prepend('<div class="ui-icon loading"/>');})
|
.on("beforeload", function() {this.container.prepend('<div class="ui-icon loading"/>');})
|
||||||
.on("load", function() {$j('.loading',this.container).remove();});
|
.on("load", function() {$j('.loading',this.container).remove();});
|
||||||
|
|
||||||
|
// Unbind change handler of widget's ancestor to stop it from bubbling
|
||||||
|
// taglist has its own onchange
|
||||||
|
$j(this.getDOMNode()).unbind('change.et2_inputWidget');
|
||||||
|
|
||||||
// onChange
|
// onChange
|
||||||
if(this.options.onchange && typeof this.options.onchange == 'function')
|
if(this.options.onchange && typeof this.options.onchange == 'function')
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user