summaryrefslogtreecommitdiff
path: root/js/util.js
AgeCommit message (Collapse)Author
2009-11-02Binding keyup/keydown only once for .form_noticeSarven Capadisli
2009-11-02Make sure to call FormNoticeEnhancements with a new copy of the formSarven Capadisli
object
2009-11-02Ran through JSLintSarven Capadisli
2009-11-02Fixed object string name and order for submitonreturn actionsSarven Capadisli
2009-11-02Fixed object string nameSarven Capadisli
2009-11-02MinorSarven Capadisli
2009-11-01Updated button.close stylesSarven Capadisli
2009-10-31Use FormNoticeEnhancements instead of CounterSarven Capadisli
2009-10-31Updated counter, submitonreturn to be reused by any form. CreatedSarven Capadisli
FormNoticeEnhancements to call those at one go for any form.
2009-10-31Updated FormNoticeXHR to allow any form_notice as input (e.g., reusedSarven Capadisli
in XHR direct message)
2009-10-31Added XHR for direct messages.Sarven Capadisli
2009-10-30Running through importNode before checking for idSarven Capadisli
2009-10-30Fixed Nudge XHRSarven Capadisli
2009-10-30MinorSarven Capadisli
2009-10-30Using document importNode otherwise IE pukesSarven Capadisli
2009-10-30IE doesn't like last comma. I understand.Sarven Capadisli
2009-10-30Remove attachment view after XHR notice submitSarven Capadisli
2009-10-30Added missing dataType line for ajaxFormSarven Capadisli
2009-10-30Added Init commentSarven Capadisli
2009-10-30Resetting counter after a notice submitSarven Capadisli
2009-10-30Updated author documentationSarven Capadisli
2009-10-30Only run the scripts if the user is logged inSarven Capadisli
2009-10-30Updated notice form counterSarven Capadisli
2009-10-30Updated SubmitOnReturnSarven Capadisli
2009-10-30Updated NoticeDataAttachSarven Capadisli
2009-10-30Updated NoticeAttachmentsSarven Capadisli
2009-10-30Missing :Sarven Capadisli
2009-10-30Updated NoticeReply and NoticeReplySetSarven Capadisli
2009-10-30Updated form_noticeSarven Capadisli
2009-10-30Refactored XHR forms:Sarven Capadisli
.form_user_subscribe .form_user_unsubscribe .form_favor .form_disfavor .form_group_join .form_group_leave .form_user_nudge Using FormXHR()
2009-10-29Updated bookmarklet. Created its own actionSarven Capadisli
2009-08-27Merge branch '0.8.x' into 0.9.xEvan Prodromou
Conflicts: EVENTS.txt actions/finishremotesubscribe.php actions/postnotice.php actions/public.php actions/remotesubscribe.php actions/showstream.php actions/updateprofile.php actions/userauthorization.php classes/laconica.ini lib/common.php lib/oauthstore.php lib/omb.php
2009-08-25update Laconica to StatusNet in js codeEvan Prodromou
2009-08-21Merge branch '0.8.x' into 0.9.xEvan Prodromou
Conflicts: actions/updateprofile.php actions/userauthorization.php classes/User_group.php index.php install.php lib/accountsettingsaction.php lib/logingroupnav.php
2009-08-21counter in notice/message form uses global variable for max lengthEvan Prodromou
2009-08-16Use spinner icon while performing AJAX submissions of favorite/unfavorite ↵brion
button so there's some visual feedback that something's happening.
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-04Ticket 1758 Multiple replies in web interface on "profile" pageSarven Capadisli
appends own username
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-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