Nice tip. But, shouldn't you use
this.trigger('close')
instead of
if (this.onClose){ this.onClose(); } ??
Nice tip. But, shouldn't you use
this.trigger('close')
instead of
if (this.onClose){
this.onClose();
}
??