Skip to content
Snippets Groups Projects
Commit 7a2f4e50 authored by Andreas Gohr's avatar Andreas Gohr
Browse files

Merge pull request #1125 from micgro42/linkwizCursorPos

Linkwizard: Move cursor to the end of the text in input
parents 4c748889 fcf506ee
No related branches found
No related tags found
No related merge requests found
......@@ -299,6 +299,11 @@ var dw_linkwiz = {
dw_linkwiz.$wiz.show();
dw_linkwiz.$entry.focus();
dw_linkwiz.autocomplete();
// Move the cursor to the end of the input
var temp = dw_linkwiz.$entry.val();
dw_linkwiz.$entry.val('');
dw_linkwiz.$entry.val(temp);
},
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment