mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 22:06:05 +01:00
prvent default action
This commit is contained in:
@@ -89,6 +89,7 @@ fileManager.controller('editFileCtrl', function ($scope, $http, $window) {
|
||||
cm.setSize(null, 800);
|
||||
cm.on("keyup", function (cm, event) {
|
||||
if (!cm.state.completionActive && event.keyCode === 9) {
|
||||
event.preventDefault();
|
||||
CodeMirror.commands.autocomplete(cm, null, {completeSingle: false});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user