summaryrefslogtreecommitdiff
path: root/js/util.js
AgeCommit message (Collapse)Author
2009-12-11rename forward form to repeat form in JSEvan Prodromou
2009-12-11Revert "remove NoticeForward from util.js"Evan Prodromou
This reverts commit 038fbddd02d2f144936357ed2ed40c09b1441c6b.
2009-12-10remove NoticeForward from util.jsEvan Prodromou
2009-12-10If ElementData is set on the notice form, use the existing MaxLengthSarven Capadisli
2009-12-10Calling NewDirectMessageSarven Capadisli
2009-12-10Updated FormNoticeEnhancements and Counter to use the max text valueSarven Capadisli
from HTML. It also allows each .form_notice to have its own counter.
2009-12-08add (ugly) form to forward noticesEvan Prodromou
2009-12-07Added form_response class to XHR notice postsSarven Capadisli
2009-12-07Fixed missing " for element attributeSarven Capadisli
2009-12-07Use .resetForm() instead of manually setting notice form's control values to ↵Sarven Capadisli
null
2009-12-07If the XHR error suggests that the xhr.status is 0 (i.e., it didn'tSarven Capadisli
receive an XHR object as expected), threat it as a success like HTTP 20x or 30x because the notice most likely went through. jquery.form.js (for file uploads) and meteor.js both use an iframe and they (somehow) appear to be in conflict. Notice always goes through, however, xhr.status is 0. Further investigation is needed.
2009-12-02If an XHR notice is sent form a page that has no timeline, show aSarven Capadisli
message like 'Notice sent'
2009-12-02Revert "If the page doesn't have .notices, silently skip the notice XHR ↵Sarven Capadisli
response" This reverts commit 7b550f386a8a3f38ced8ee587d7ae1c997e97906.
2009-12-02Revert "Clear/reset the XHR notice form on pages where there is no timeline"Sarven Capadisli
This reverts commit d3189763422a87f9f977646ad57e7d4a2ea29026.
2009-12-02Clear/reset the XHR notice form on pages where there is no timelineSarven Capadisli
2009-12-02If the page doesn't have .notices, silently skip the notice XHR responseSarven Capadisli
2009-11-30Initial replacement for alert() messages coming from FormNoticeXHR().Sarven Capadisli
Appends a success/error container to notice form.
2009-11-29Disabled call to NewDirectMessage() until IE issue is sorted outSarven Capadisli
2009-11-29Call NoticeWithAttachment instead of NoticeAttachments after XHRSarven Capadisli
notice post
2009-11-29Last check to see if the notice item contains an attachmentSarven Capadisli
2009-11-29Created NoticeWithAttachment to handle jOverlay for single noticeSarven Capadisli
items as opposed to running NoticeAttachments for all notices
2009-11-28Ditched some whitespaceSarven Capadisli
2009-11-28Refactored NoticeReply() so that a notice item can use NoticeReplyToSarven Capadisli
instead of rebinding all of the notice replies again.
2009-11-28Call FormXHR (single) instead of NoticeForm (all)Sarven Capadisli
2009-11-28Bind submit to a form by SN.U.FormXHR() only once.Sarven Capadisli
2009-11-27Better UI for showing 'processing' for NewDirectMessage. Displays itSarven Capadisli
only while it GETs the form.
2009-11-27A simpler way to focus and set the cursor position for NoticeReply().Sarven Capadisli
Works in IE7+, Safari4, Firefox 3.
2009-11-27NoticeReply will now set the focus() position to textare for IESarven Capadisli
2009-11-27Added processing icon for entity_actions anchorsSarven Capadisli
2009-11-27Changed to bind instead of clickSarven Capadisli
2009-11-26Increased z-index for jOverlaySarven Capadisli
2009-11-19Use the browser's geolocation API to set the location on the notice formCraig Andrews
2009-11-13Separated NoticeFavor and calling it from FormNoticeXHR successSarven Capadisli
2009-11-11Separated Init functions to NoticeForm, Notices, EvenActions.Sarven Capadisli
2009-11-11Separated actions that's particular to the notice stream pages intoSarven Capadisli
its own function. It can be reused whenever the common behaviours needs to be initialized.
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