rename dialog closed when not active
Signed-off-by: Sagorika Das <sagorika1996@gmail.com>
This commit is contained in:
parent
a966d5256c
commit
dca75448d0
1 changed files with 5 additions and 1 deletions
|
@ -2379,7 +2379,11 @@
|
|||
event.preventDefault();
|
||||
});
|
||||
input.blur(function() {
|
||||
form.trigger('submit');
|
||||
if(input.hasClass('error')) {
|
||||
restore();
|
||||
} else {
|
||||
form.trigger('submit');
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue