aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/static/js/comment_show.js
Commit message (Collapse)AuthorAgeFilesLines
* change interval to 1000msRodney Ewing2013-08-071-1/+1
|
* Changed how the comment was encoded/read.Emily O'Leary2013-08-071-9/+10
| | | | | Fixed CSRF + Post with comment preview. Merged with latest master
* Added i18n to my javascript changes as per trac #417Emily O'Leary2013-08-071-1/+1
|
* Added comment preview functionality to user pages. It works by passing the ↵Emily O'Leary2013-08-071-0/+12
| | | | | | comment's value as a JSON string to a new handler that lives at /ajax/comment/preview. The query string is decoded, unquoted, and has its leading and trailing quotes removed to match the input that cleaned_markdown_conversion expects. It does this in real time with a 500ms lag by using a timer. Initially I tried the onChange handler but you need to lose focus for that to process. The javascript timer is only invoked if the add comment button is pressed. A request is only sent if the comment box is not empty and the current value is not the same as the last value.
* It's 2012 all up in hereChristopher Allan Webber2012-02-021-1/+1
|
* JavaScript fixes - AGPL headers, etcJoar Wandborg2012-01-281-0/+18
| | | | | | - Added AGPL header to comment_show.js, show_password.js and geolocation-map.js - Removed console.log from geolocation-map.js
* Seperate jQuery bit that was still in media.htmlJef van Schendel2012-01-011-0/+9