@@ -189,6 +189,10 @@
|
|||||||
hide: function () {
|
hide: function () {
|
||||||
this.$menu.hide();
|
this.$menu.hide();
|
||||||
this.shown = false;
|
this.shown = false;
|
||||||
|
|
||||||
|
if ( this.options.onCancel ) {
|
||||||
|
this.options.onCancel.call( this );
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -310,10 +314,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.hide();
|
this.hide();
|
||||||
|
|
||||||
if ( this.options.onCancel ) {
|
|
||||||
this.options.onCancel.call( this );
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
keyup: function ( e ) {
|
keyup: function ( e ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user