summaryrefslogtreecommitdiff
path: root/js/util.js
AgeCommit message (Collapse)Author
2010-01-04Refactored geo location removal to removeNoticeDataGeo()Sarven Capadisli
2010-01-04Added errorCallback() to geoCurrentPosition() i.e., if user doesn'tSarven Capadisli
grant permission, removes the Geo processing and (if any) existing geo location data from notice form.
2010-01-04Trim whitespace from label's textContentSarven Capadisli
2010-01-04Using object value instead of inline stringSarven Capadisli
2010-01-04Open geoname URL in a new windowSarven Capadisli
2010-01-03Fix end tagSarven Capadisli
2010-01-03Button should return falseSarven Capadisli
2010-01-03Moved location container's buttons inside enabled stateSarven Capadisli
2010-01-03Reset location icon when container button.close is clickedSarven Capadisli
2010-01-03Added minimize functionality to selected location containerSarven Capadisli
2010-01-03Changed location share representation to be more like the fileSarven Capadisli
attachment. Init UI. Probably a little buggy.
2009-12-31Initial UI for geo location share option in notice formSarven Capadisli
2009-12-31Moving notice_data-location_wrap after notice form fieldsetSarven Capadisli
2009-12-31Moved JavaScript dependant stuff out of noticeform.Sarven Capadisli
2009-12-31jQuery select SN.C.S.NoticeLocationName once.Sarven Capadisli
2009-12-31Using semicolon to seperate lat and long; RFC2426Sarven Capadisli
2009-12-31NoticeLocationAttach() slightly more readableSarven Capadisli
2009-12-31Compare by typeSarven Capadisli
2009-12-31If UA doens't support navigation.geolocation or have JavaScriptSarven Capadisli
enabled, the user should still be able to enable/disable their share location setting per notice.
2009-12-31length is faster than size()Sarven Capadisli
2009-12-29Implement user interface for user to preview what location they are sharing ↵Craig Andrews
with a notice
2009-12-23Updated Repeat notice option submit button styleSarven Capadisli
2009-12-23Init UI for Repeat notice option confirmation dialog.Sarven Capadisli
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.