mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
[fix] Event handler was not removed on modal confirmation
This commit is contained in:
parent
c9c73b9c85
commit
25e2475100
2 changed files with 2 additions and 0 deletions
1
src/dist/js/script.min.js
vendored
1
src/dist/js/script.min.js
vendored
|
@ -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')
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue