Skip to content
Snippets Groups Projects
Commit 6538b7d6 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

new custom chart page: initially focus chart name input

parent 3bdb61a6
No related branches found
No related tags found
No related merge requests found
Pipeline #5885 failed
......@@ -3,6 +3,11 @@ let chartPickerEndDate;
$(document).ready(function()
{
if($('#chart-name').length)
{
document.getElementById('chart-name').focus();
}
if($("#chart-script").length)
{
let editor = CodeMirror.fromTextArea(document.getElementById('chart-script'), {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment