summaryrefslogtreecommitdiff
path: root/js/util.js
AgeCommit message (Collapse)Author
2010-02-16Minor optimization to only bind an hover event to the notice at hand.Sarven Capadisli
2010-02-16Fix to allow any notice item with an attachment to use the overlay viewSarven Capadisli
2010-02-10Refactored repeat confirmation dialog. Also fixes dialog skipping.Sarven Capadisli
2010-02-01Reusing fixed selector name for 'processing' in util.jsSarven Capadisli
2010-01-31Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingSarven Capadisli
2010-01-31Updated XHR binded events to work better in jQuery 1.4.1. UsingSarven Capadisli
.live() for event delegation instead of jQuery.data() and checking to see if an element was previously binded.
2010-01-30Globalized form notice data geo valuesSarven Capadisli
2010-01-30Using jQuery chaining in FormNoticeXHRSarven Capadisli
2010-01-30Using form object instead of form_id and find(). Slightly faster andSarven Capadisli
easier to read.
2010-01-26Setting the geo location cookie expire date far into the future: 2029 ;)Sarven Capadisli
2010-01-26Setting the geo location cookie expire date far into the future: 2029 ;)Sarven Capadisli
2010-01-26An update to geolocation cookie to use a single file and set theSarven Capadisli
expiry date to 30 days from now.
2010-01-26Quick hack to avoid breaking with geonames off when there's some old cookie ↵Brion Vibber
state. This code's a little rough and tumble; any breakage halts JS execution and leaves the spinner going and no message submitted.
2010-01-26Some JS cleaning up for NoticeLocationAttach (which fixes also fixes aSarven Capadisli
few bugs in WebKit)
2010-01-26Took out focus out of textare when location share is enabled/disabled.Sarven Capadisli
Also avoids the conflict with the URL fragment on the conversation page.
2010-01-26Added missing position paramaterSarven Capadisli
2010-01-26JSLinting on JSONSarven Capadisli
2010-01-25An update to geolocation cookie to use a single file and set theSarven Capadisli
expiry date to 30 days from now.
2010-01-24Some JS cleaning up for NoticeLocationAttach (which fixes also fixes aSarven Capadisli
few bugs in WebKit)
2010-01-24Took out focus out of textare when location share is enabled/disabled.Sarven Capadisli
Also avoids the conflict with the URL fragment on the conversation page.
2010-01-24Added missing position paramaterSarven Capadisli
2010-01-24JSLinting on JSONSarven Capadisli
2010-01-21Quick hack to avoid breaking with geonames off when there's some old cookie ↵Brion Vibber
state. This code's a little rough and tumble; any breakage halts JS execution and leaves the spinner going and no message submitted.
2010-01-14Update geo location UI for notice form where the geo data info is onlySarven Capadisli
visible on @title of the enable/disable button.
2010-01-13Unchecks location sharing for geo location if it timesoutSarven Capadisli
2010-01-13Timeout should be 10000, not 10Sarven Capadisli
Revert "Unchecks location sharing for geo location if it timesout" This reverts commit 8887d7a314bdbf4e4fc6ca26addf5ce28284d697.
2010-01-13Unchecks location sharing for geo location if it timesoutSarven Capadisli
2010-01-13Added timeout error handling for geo locationSarven Capadisli
2010-01-13Using a JSON object for NoticeDataGeo text insteadSarven Capadisli
2010-01-11Explicitly reseting notice_in-reply-to valueSarven Capadisli
2010-01-08Added i18n text for @title values in geo sharing actionsSarven Capadisli
2010-01-08Focus on the notice textarea after share, minimize, close button actionsSarven Capadisli
2010-01-08Makes sure that if geo location sharing is disabled, it doesn't useSarven Capadisli
the HTML output. If cookie is set, use those values for XHR notice post
2010-01-08Stores geo view's minimized state in a cookieSarven Capadisli
2010-01-08Some code cleaning for geo UISarven Capadisli
2010-01-08Using cookies to minimize lookups to GeonamesSarven Capadisli
2010-01-05Reuse cookie location_enabled before .change()Sarven Capadisli
2010-01-05Retain the geo data when FormNoticeXHR is complete because form getsSarven Capadisli
reset
2010-01-05Remove input geo data as wellSarven Capadisli
2010-01-05If user checked shared location but didn't enter their location, don'tSarven Capadisli
show the checkbox
2010-01-04Refactored NoticeLocationAttach(). It works better in UAs that don'tSarven Capadisli
support Geolocation API.
2010-01-04Ran NoticeLocationAttach() through jslintSarven Capadisli
2010-01-04Relocated @title removalSarven Capadisli
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