Permalink
Browse files

Add trigger event for every callFilter. Fix #246

  • Loading branch information...
nyroDev committed Oct 17, 2014
1 parent 18403ea commit b7ae3accf7634cc79a24dc3c6024cbb1f614b462
Showing with 5 additions and 0 deletions.
  1. +5 −0 js/jquery.nyroModal.js
View
@@ -423,6 +423,11 @@ jQuery(function($, undefined) {
// return an array of all return of callbacks; keys are filters name
_callFilters: function(fct, prm) {
this.getInternal()._debug(fct, prm);
if (this.opener && this.opener.length) {
this.opener.trigger(fct+'.nyroModal', [this, prm]);
} else {
$b.trigger(fct+'.nyroModal', [this, prm]);
}
var ret = [],
self = this;
$.each(this.filters, function(i, f) {

2 comments on commit b7ae3ac

@xiehongyang

This comment has been minimized.

Show comment
Hide comment
@xiehongyang

xiehongyang Mar 26, 2015

哇,下载试试

xiehongyang replied Mar 26, 2015

哇,下载试试

@wlclass

This comment has been minimized.

Show comment
Hide comment
@wlclass

wlclass replied Mar 27, 2015

谢谢

Please sign in to comment.