TODO: Add Javascript for Reply and New Post Autosave


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
# 1  
TODO: Add Javascript for Reply and New Post Autosave

TODO:

Add a some javascript to:
  • Autosave to browser localstorage when a member is creating a new post or replying to a thread (rewriting any prior text in autosave).
  • Create a button on the editor to load the text stored in the autosave function.

Difficulty:
  • Easy.

Estimated Time to Complete and Test:
  • 30 minutes to one hour, including testing.
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

7 More Discussions You Might Find Interesting

1. What is on Your Mind?

Simple Autosave and Recovery for Forum WYSIWYG Editors

Well, after causing Don Cragun to lose some replies when working on a few feature, I decided to create a simple autosave / recovery program that will autosave locally on key (key stroke) changes (and mouse clicks as well). NOTE. Works well in Chrome Works OK in Safari, but is not reliable... (8 Replies)
Discussion started by: Neo
8 Replies

2. How to Post in the The UNIX and Linux Forums

Not able to reply to a post

I have a trouble here. I posted couple of questions and got some reply but when i go ahead and do a reply/quick reply to the question asked it doesn't goes. it simply keep on displaying the message "Posting quick reply please wait" and that wait never ends. I am not able to do a reply :(... (3 Replies)
Discussion started by: Sharma331
3 Replies

3. Forum Support Area for Unregistered Users & Account Problems

Unable to post or reply thread after login

I am unable to post reply to a thread. Whenever I will reply to any post I get the message every time : The message you have entered is too short. Please lengthen your message to at least 5 characters. Even though length of the message is more than required. for example I tried to post ... (3 Replies)
Discussion started by: Unregistered
3 Replies

4. Forum Support Area for Unregistered Users & Account Problems

Not able to post thread/reply to thread

Dear Moderator I am not able to post any new thread or post reply to mine old thread. Kindly help as i am stuck on one problem and needed suggestion. Regards Jaydeep (1 Reply)
Discussion started by: jaydeep_sadaria
1 Replies

5. Forum Support Area for Unregistered Users & Account Problems

I cannot post new thread and reply after register

Hi, Admin, I have met a problem that I cannot post new thread and reply after register. It reminds some information as shown in the below: case 1: To create new threads in this forum your post count must be 10 or greater. You currently have 0 posts. case 2: To reply to threads in this forum... (1 Reply)
Discussion started by: Unregistered
1 Replies

6. Forum Support Area for Unregistered Users & Account Problems

Cann't post reply or create new threads

Hi Admin I got the error message as follows when I reply or create new thread. To reply to threads in this forum your post count must be 10 or greater. You currently have 9 posts. Is there any problems with my account? How I can reach the 10 replies? I cann't post any replies now. ... (1 Reply)
Discussion started by: ambious
1 Replies

7. Shell Programming and Scripting

if this post is easy to read so is to reply !!!

i have a html file with uploads a file and sends the username to a .cgi file using post method. the part of code in the cgi file is as below. i am able to get the filename but not able to get the username thats getting posted to the file how to know the value of username. i am trying to store... (2 Replies)
Discussion started by: sasidhdv
2 Replies
xcb_randr_get_output_property(3)				   XCB Requests 				  xcb_randr_get_output_property(3)

NAME
xcb_randr_get_output_property - SYNOPSIS
#include <xcb/randr.h> Request function xcb_randr_get_output_property_cookie_t xcb_randr_get_output_property(xcb_connection_t *conn, xcb_randr_output_t output, xcb_atom_t property, xcb_atom_t type, uint32_t long_offset, uint32_t long_length, uint8_t _delete, uint8_t pending); Reply datastructure typedef struct xcb_randr_get_output_property_reply_t { uint8_t response_type; uint8_t format; uint16_t sequence; uint32_t length; xcb_atom_t type; uint32_t bytes_after; uint32_t num_items; uint8_t pad0[12]; } xcb_randr_get_output_property_reply_t; Reply function xcb_randr_get_output_property_reply_t *xcb_randr_get_output_property_reply(xcb_connection_t *conn, xcb_randr_get_output_property_cookie_t cookie, xcb_generic_error_t **e); Reply accessors uint8_t *xcb_randr_get_output_property_data(const xcb_randr_get_output_property_request_t *reply); int xcb_randr_get_output_property_data_length(const xcb_randr_get_output_property_reply_t *reply); xcb_generic_iterator_t xcb_randr_get_output_property_data_end(const xcb_randr_get_output_property_reply_t *reply); REQUEST ARGUMENTS
conn The XCB connection to X11. output TODO: NOT YET DOCUMENTED. property TODO: NOT YET DOCUMENTED. type TODO: NOT YET DOCUMENTED. long_offset TODO: NOT YET DOCUMENTED. long_length TODO: NOT YET DOCUMENTED. _delete TODO: NOT YET DOCUMENTED. pending TODO: NOT YET DOCUMENTED. REPLY FIELDS
response_type The type of this reply, in this case XCB_RANDR_GET_OUTPUT_PROPERTY. This field is also present in the xcb_generic_reply_t and can be used to tell replies apart from each other. sequence The sequence number of the last request processed by the X11 server. length The length of the reply, in words (a word is 4 bytes). format TODO: NOT YET DOCUMENTED. type TODO: NOT YET DOCUMENTED. bytes_after TODO: NOT YET DOCUMENTED. num_items TODO: NOT YET DOCUMENTED. DESCRIPTION
RETURN VALUE
Returns an xcb_randr_get_output_property_cookie_t. Errors have to be handled when calling the reply function xcb_randr_get_output_proper- ty_reply. If you want to handle errors in the event loop instead, use xcb_randr_get_output_property_unchecked. See xcb-requests(3) for details. ERRORS
This request does never generate any errors. SEE ALSO
AUTHOR
Generated from randr.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. XCB
2014-06-10 xcb_randr_get_output_property(3)

Featured Tech Videos