From ab6845102fecf5f07908fbaf14186e438632a215 Mon Sep 17 00:00:00 2001 From: "silver%warwickcompsoc.co.uk" Date: Sat, 31 Jan 2004 09:29:09 +0000 Subject: [PATCH] Bug 232544 - Make Ctrl-Up/Down change multiline pref instead of bypassing it. r=samuel@sieb.net --- extensions/irc/xul/content/handlers.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/irc/xul/content/handlers.js b/extensions/irc/xul/content/handlers.js index a52a14cb9cb..34176813f16 100644 --- a/extensions/irc/xul/content/handlers.js +++ b/extensions/irc/xul/content/handlers.js @@ -194,7 +194,7 @@ function onMultilineInputKeyPress (e) if ((e.ctrlKey || e.metaKey) && e.keyCode == 40) { /* ctrl/meta-down, switch to single line mode */ - multilineInputMode (false); + dispatch ("pref multiline false"); } } } @@ -266,7 +266,7 @@ function onInputKeyPress (e) if (e.ctrlKey || e.metaKey) { /* ctrl/meta-up, switch to multi line mode */ - multilineInputMode (true); + dispatch ("pref multiline true"); } else {