gnu-social/js
brion a1a97930f3 Workaround for bug 1317 '"What's up" textarea on iPhone missing proper submit button'
http://laconi.ca/trac/ticket/1317

Mobile Safari shows a 'return' button for making newlines in a <textarea> where it would show a submit button for plain <input> text fields...
However there's a keydown event handler which is supposed to detect hitting enter and submit the form for us. This didn't work on Mobile Safari because it was checking of 13 ("\r") but the iPhone sends us char 10 ("\n") here. Changed to accept both, so we now submit on hitting 'return' on iPhone.

Note: I also added a blur() to move focus out of the textarea, which closes the on-screen keyboard. It will also take focus out of the textarea on other platforms, but this is probably the right thing -- the same thing happens when you push the "send" button after all.

Also note: unfortunately the layout right now looks pretty awful generally while editing on the iPhone; you can't see the send button or character counter while typing at the default zoom, and it doesn't zoom out after you submit so you can't really see where your message is going. This should be dealt with in general by fixing up the mobile skin variant...
2009-08-10 11:58:55 -04:00
..
farbtastic It was accidently removed 2009-06-17 06:38:21 +00:00
jcrop Added licensing information for jcrop.go and farbtastic.go scripts 2009-05-20 23:37:20 +00:00
facebookapp.js Facebook app: don't add FBJS event listeners to notice input box if it's not on the page 2009-02-05 07:10:11 +00:00
identica-badge.js Fix link to identi.ca in JavaScript badge 2009-05-01 07:12:37 -04:00
install.js Added site path field to installer + fancy URL javascript auto-detection. 2009-05-17 00:05:07 -04:00
jquery.form.js Let's you upload a file with a notice and have it shown with other attachments. 2009-05-26 21:20:04 -04:00
jquery.joverlay.js add the readable source for joverlay 2009-07-01 13:46:32 -04:00
jquery.joverlay.min.js Centres the overlay container as best as it can (given that we can't 2009-07-01 20:57:21 +00:00
jquery.js upgrade jQuery to 1.3.2 2009-03-30 11:11:53 -04:00
jquery.min.js upgrade jQuery to 1.3.2 2009-03-30 11:11:53 -04:00
userdesign.go.js Refactored rgb2hex 2009-08-04 12:26:29 -04:00
util.js Workaround for bug 1317 '"What's up" textarea on iPhone missing proper submit button' 2009-08-10 11:58:55 -04:00
xbImportNode.js Adding xbImportNode 2009-01-17 02:57:51 +00:00