Bug 536857 - It's possible to insert more than one line into a single line input field but only last line is shown [r=mark.finkle]
authorGavin Sharp <gavin@gavinsharp.com>
Tue, 16 Feb 2010 21:27:31 -0500
changeset 66011 f75a8e58d8c5f2c580f120019b705652affafe33
parent 66010 c6e9e321c631167119b3871633600861b7fd7c00
child 66012 9622d4be3f360a542b410a664954479ee5fac541
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmark
bugs536857
Bug 536857 - It's possible to insert more than one line into a single line input field but only last line is shown [r=mark.finkle]
mobile/app/mobile.js
--- a/mobile/app/mobile.js
+++ b/mobile/app/mobile.js
@@ -424,8 +424,11 @@ pref("app.update.incompatible.mode", 0);
 pref("app.update.interval", 86400);
 pref("app.update.download.backgroundInterval", 600);
 pref("app.update.url.manual", "http://www.mozilla.com/%LOCALE%/m/");
 pref("app.update.url.details", "http://www.mozilla.com/%LOCALE%/mobile/releases/");
 #else
 pref("app.update.interval", 28800);
 #endif
 #endif
+
+// replace newlines with spaces on paste into single-line text boxes
+pref("editor.singleLine.pasteNewlines", 2);