[fix] Event handler was not removed on modal confirmation

This commit is contained in:
zamentur 2015-10-02 02:40:25 +02:00
parent c9c73b9c85
commit 25e2475100
2 changed files with 2 additions and 0 deletions

View file

@ -6519,6 +6519,7 @@ var app = Sammy('#main', function (sam) {
.click(function(e){
e.preventDefault();
$('#modal footer button').unbind( "click" );
// Reset & Hide modal
box
.removeClass('no-title')

View file

@ -304,6 +304,7 @@ var app = Sammy('#main', function (sam) {
.click(function(e){
e.preventDefault();
$('#modal footer button').unbind( "click" );
// Reset & Hide modal
box
.removeClass('no-title')