summaryrefslogtreecommitdiff
path: root/js
AgeCommit message (Collapse)Author
2009-08-11Updated Jcrop to 0.9.8 (avatar cropping wasn't working in IE7 with 0.9.5)Jeffery To
2009-08-10Workaround for bug 1317 '"What's up" textarea on iPhone missing proper ↵brion
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-08Throttles updating of the character counter to reduce the performance impact ↵brion
on typing, especially on slower devices (mobiles, netbooks). http://laconi.ca/trac/ticket/1462
2009-08-08Fix for removing the first occurance of the duplicate nickname inSarven Capadisli
textarea when NoticeReply() is used.
2009-08-06Set counter text only when it differs from the new remaining count.Tom Adams
This speeds up keyboard navigation around the textarea field.
2009-08-04Refactored rgb2hexSarven Capadisli
2009-08-04Ticket 1758 Multiple replies in web interface on "profile" pageSarven Capadisli
appends own username
2009-08-04Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.xSarven Capadisli
2009-08-04Didn't test that JS in IE. Revert a little.Tom Adams
2009-08-04Set focus to end of field.Tom Adams
2009-08-04Prepend replyto string to message, don't destroy user input!Tom Adams
2009-08-04Only warn when chars remaining < 0, not <= 0.Tom Adams
2009-07-31Added credit to rgb2hex() authorSarven Capadisli
2009-07-30Removed default values from <input>s. JavaScript will now get theSarven Capadisli
colours from the theme. This approach removes data that was previously available in HTML. It was only necessary if the user wanted to know the site's default values.
2009-07-15Updated attachment view position. It is now closer to top.Sarven Capadisli
2009-07-09Updated max-width values for attachment viewSarven Capadisli
2009-07-07Trac #1689: inreplyto hidden value doesn't get cleared after a successful ↵Robin Millette
submit (javascript fix)
2009-07-02Disabled textarea focus for conversation page since most entrances toSarven Capadisli
this page is with 'in context' link (which includes a fragment identifier)
2009-07-01Removed extra slashSarven Capadisli
2009-07-01Centres the overlay container as best as it can (given that we can'tSarven Capadisli
calculate the height of the XHR response container without actually loading it into the DOM).
2009-07-01update joverlay to latest versionEvan Prodromou
2009-07-01add the readable source for joverlayEvan Prodromou
2009-07-01remove extra / in attachment codeEvan Prodromou
2009-06-30Updated jOverlay version and set max-width for imagesSarven Capadisli
2009-06-26Added background-attachment:fixed for userdesignsSarven Capadisli
2009-06-26Removed redundant selector from JSSarven Capadisli
2009-06-26Removed unnecessary assignment to variable for background image onSarven Capadisli
2009-06-25Added functionality to remove the notice data attachmentSarven Capadisli
2009-06-25Shows the selected file attachment under the form_notice textareaSarven Capadisli
2009-06-25Slightly more specific selector. Looks only in the notices in theSarven Capadisli
content area
2009-06-23On XHR notice post, calls NoticeAttachment to trigger thumbnail andSarven Capadisli
attachment views
2009-06-18A little more specific selector for notice replySarven Capadisli
2009-06-18Placed a check to make sure there is a reply button in a notice beforeSarven Capadisli
applying the dynamic action
2009-06-17Merge branch '0.8.x' into userdesignZach Copley
2009-06-17Removed NoticeHover from JavaScript for speed gain. Using CSS insteadSarven Capadisli
to handle the notice hover state. The difference is only seen in the conversation page.
2009-06-17It was accidently removedSarven Capadisli
2009-06-17Dynamically tile background image and turn background image on or offSarven Capadisli
in user design
2009-06-16Connects html, body and content, navigation background colorsSarven Capadisli
2009-06-16Converts user entry in the form of '#1B2' into '#11BB22' for userSarven Capadisli
design swatches
2009-06-15Updated swatch numberingSarven Capadisli
2009-06-13Dynamic notice item insertion for conversation page.Sarven Capadisli
2009-06-10Merge branch '0.7.x' into 0.8.xEvan Prodromou
2009-06-09Removed 404 testSarven Capadisli
2009-06-08Clearing notice_data-test and resetting notice_text-count if theSarven Capadisli
notice XHR. Removed hanging text URL from previous commit.
2009-06-08Revert "Clearing notice_data-test and resetting notice_text-count if the ↵Sarven Capadisli
notice XHR" This reverts commit b20ac7a1fefe40e82b086df3128f06770c8b550d.
2009-06-08Clearing notice_data-test and resetting notice_text-count if the notice XHRSarven Capadisli
response is empty and have a 20x,30x HTTP status
2009-06-08Temporary workaround for silenting mysterious 200 OK error for XHRSarven Capadisli
notice posts. The bug is sometimes reproduceable by sending a notice that includes "@someusernamethatdoesntexist". This patch doesn't throw alerts to user if server doesn't return with an XHR response but HTTP is one of 20x, 30x.
2009-06-05Init notice_data-attach UI for form_noticeSarven Capadisli
2009-06-01Remove js that crept back in, added another error string.Robin Millette
2009-06-01Re-added some javascript to toggle upload field.Robin Millette