fix dovecot upgrade on ubuntu

This commit is contained in:
Usman Nasir
2021-03-18 15:18:56 +05:00
parent b2d3bab91b
commit 3b725a8523
6 changed files with 7 additions and 8 deletions

View File

@@ -88,8 +88,7 @@ fileManager.controller('editFileCtrl', function ($scope, $http, $window) {
cm.setValue(response.data.fileContents);
cm.setSize(null, 800);
cm.on("keyup", function (cm, event) {
if (!cm.state.completionActive &&
event.keyCode != 13) {
if (!cm.state.completionActive && event.keyCode === 9) {
CodeMirror.commands.autocomplete(cm, null, {completeSingle: false});
}
});