diff options
author | Michael Große <grosse@cosmocode.de> | 2015-04-23 14:33:00 +0200 |
---|---|---|
committer | Michael Große <grosse@cosmocode.de> | 2015-04-23 14:33:00 +0200 |
commit | 703509f636f39a80b681e76b4998973c952803a2 (patch) | |
tree | f5a7ff36683949442accf5512e18767996448eb4 /lib | |
parent | 4c748889a0025e907a58f0aa1ea4bb3def9b5e58 (diff) | |
download | rpg-703509f636f39a80b681e76b4998973c952803a2.tar.gz rpg-703509f636f39a80b681e76b4998973c952803a2.tar.bz2 |
Move cursor to the end of the text in input
Diffstat (limited to 'lib')
-rw-r--r-- | lib/scripts/linkwiz.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/scripts/linkwiz.js b/lib/scripts/linkwiz.js index e8191dbcb..752e12187 100644 --- a/lib/scripts/linkwiz.js +++ b/lib/scripts/linkwiz.js @@ -299,6 +299,9 @@ var dw_linkwiz = { dw_linkwiz.$wiz.show(); dw_linkwiz.$entry.focus(); dw_linkwiz.autocomplete(); + var temp = dw_linkwiz.$entry.val(); + dw_linkwiz.$entry.val(''); + dw_linkwiz.$entry.val(temp); }, /** |