diff options
author | Andreas Gohr <andi@splitbrain.org> | 2014-02-02 12:18:52 -0800 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2014-02-02 12:18:52 -0800 |
commit | e9776410dd54f3e4ac9760e77957ac95c3799550 (patch) | |
tree | ce06498fceacc6204fab57a34f8a99c94a5bfd22 /lib/scripts/edit.js | |
parent | 6a9847e9585573156a2164962dcd64e06aeb5e81 (diff) | |
parent | 7e487fcf7005d1e1465ef6acb332cc1009676413 (diff) | |
download | rpg-e9776410dd54f3e4ac9760e77957ac95c3799550.tar.gz rpg-e9776410dd54f3e4ac9760e77957ac95c3799550.tar.bz2 |
Merge pull request #505 from splitbrain/fs2915
renamed conflicting JavaScript functions FS#2915
Diffstat (limited to 'lib/scripts/edit.js')
-rw-r--r-- | lib/scripts/edit.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/scripts/edit.js b/lib/scripts/edit.js index b1dbff683..56c185db7 100644 --- a/lib/scripts/edit.js +++ b/lib/scripts/edit.js @@ -148,7 +148,7 @@ function addBtnActionSignature($btn, props, edid) { function currentHeadlineLevel(textboxId){ var field = jQuery('#' + textboxId)[0], s = false, - opts = [field.value.substr(0,getSelection(field).start)]; + opts = [field.value.substr(0,DWgetSelection(field).start)]; if (field.form.prefix) { // we need to look in prefix context opts.push(field.form.prefix.value); @@ -217,10 +217,10 @@ jQuery(function () { } // set focus and place cursor at the start - var sel = getSelection($edit_text[0]); + var sel = DWgetSelection($edit_text[0]); sel.start = 0; sel.end = 0; - setSelection(sel); + DWsetSelection(sel); $edit_text.focus(); } |