summaryrefslogtreecommitdiff
path: root/js/util.js
AgeCommit message (Collapse)Author
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
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-01remove extra / in attachment codeEvan Prodromou
2009-06-30Updated jOverlay version and set max-width for imagesSarven 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-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-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.