Closed (fixed)
Project:
Chatroom
Version:
6.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Reporter:
Created:
13 Nov 2009 at 14:13 UTC
Updated:
29 Nov 2009 at 01:40 UTC
Jump to comment: Most recent
The module is coming along really well. Nice work.
Question though. How about binding a jquery listener to the textbox. So if the user press enter the message is send (and alt+enter for a new line)
Comments
Comment #1
Docc commentedguess it could look something like this (shift + enter is new line)
Comment #2
Anonymous (not verified) commentedyes, i think this is fine. i use pidgin, and i notice that you can use both shift+enter or ctrl+enter to enter a new line, so perhaps we should support both as well?
Comment #3
Docc commentedYeah why not.
It might be a idea to look at the following jquery plugin http://code.google.com/p/js-hotkeys/
It allows easy binding of key combinations. Because i can image there will be some more shortcuts in the future? (maybe even variable) and its only 4.4kb in size.
Comment #4
Anonymous (not verified) commentedlooks interesting, but will likely be after the first stable release.
i also want to bring back sound effects via a jquery plugin, so i'll be looking at how to handle adding jquery plugins as (possibly optional) dependencies at that point.
Comment #5
Anonymous (not verified) commentedoh yeah, got any opinions about #629400: make private chats controls easier to use ?
Comment #6
Anonymous (not verified) commentedcommitted, thanks! please reopen if you see any issues.