rename dialog closed when not active

Signed-off-by: Sagorika Das <sagorika1996@gmail.com>
This commit is contained in:
Sagorika Das 2018-02-21 23:16:27 +05:30
parent a966d5256c
commit dca75448d0

View file

@ -2379,7 +2379,11 @@
event.preventDefault();
});
input.blur(function() {
form.trigger('submit');
if(input.hasClass('error')) {
restore();
} else {
form.trigger('submit');
}
});
},