Skip to content

Commit 357c9e1

Browse files
lancepiochDaneEveritt
authored andcommitted
Enable undo history after loading initial file and fix pterodactyl#1159 (pterodactyl#1180)
1 parent b7eed67 commit 357c9e1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

resources/themes/pterodactyl/server/files/edit.blade.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
<script>
5353
$(document).ready(function () {
5454
Editor.setValue($('#editorSetContent').val(), -1);
55+
Editor.getSession().setUndoManager(new ace.UndoManager());
5556
$('#editorLoadingOverlay').hide();
5657
});
5758
</script>

0 commit comments

Comments
 (0)