Merge pull request #96 from ONLYOFFICE/feature/bugfix5.1.3

Fix Bug 37536 (window is closed before input field update it's value)
This commit is contained in:
Alexey Golubev 2018-04-20 16:20:06 +03:00 committed by GitHub
commit 39c3301439
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -154,11 +154,11 @@ define([
} else { } else {
this.initCodePages(); this.initCodePages();
this.updatePreview(); this.updatePreview();
this.onPrimary = function() {
me._handleInput('ok');
return false;
};
} }
this.onPrimary = function() {
me._handleInput('ok');
return false;
};
} }
}, },