Skip to content

Commit

Permalink
Merge pull request #38 from zmajdy/master
Browse files Browse the repository at this point in the history
Fix ModalRemote event bug (delete button)
  • Loading branch information
johnitvn committed Nov 11, 2015
2 parents 33b32c6 + 5ecf7e9 commit 4aa41ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/assets/ModalRemote.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ function ModalRemote(modalId){
var instance = this;
$(this.footer).append(buttonElm);
if(callback!==null){
$(buttonElm).click(function(){
$(buttonElm).click(function(event){
callback.call(instance,this,event);
});
}
Expand Down
2 changes: 1 addition & 1 deletion src/assets/ModalRemote.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4aa41ed

Please sign in to comment.