Post Message with Ctrl+Enter
One template to edit showthread_quickreply
Find: Code:
<textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="width:100%; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]"></textarea> Code:
<textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="width:100%; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]" onKeyPress="if (event.ctrlKey&&((event.keyCode==10)||(event.keyCode==13))){qr_prepare_submit(this.form, $vboptions[postminchars]);}"></textarea> Find: Code:
value="$vbphrase[post_quick_reply]" Code:
value="$vbphrase[post_quick_reply] (Ctrl+Enter)" Code:
<textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="display:block; width:$stylevar[messagewidth]; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]">$newpost[message]</textarea> Code:
<textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="display:block; width:$stylevar[messagewidth]; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]" onKeyPress="if (event.ctrlKey&&((event.keyCode==10)||(event.keyCode==13))){this.form.submit();}">$newpost[message]</textarea> Work ONLY in standart editor, NOT WYSIWYG Download No files for download. |
Similar Mods
Miscellaneous Hacks Forum enter for X message and X day necessary | vBulletin 3.6 Add-ons |