Opened 17 years ago
Closed 17 years ago
#5610 closed enhancement (fixed)
2.5 Toggle boxes should save
Reported by: | matt | Owned by: | nbachiyski |
---|---|---|---|
Milestone: | 2.5 | Priority: | normal |
Severity: | normal | Version: | 2.5 |
Component: | General | Keywords: | has-patch |
Focuses: | Cc: |
Description
The toggle boxes recently added to the write page should save state.
They should save the state in an asynchronous (and possibly batched on unload?) fashion, and save it as box_id + state.
When the page is loaded, it should add the "closed" class to those post boxes which are marked as such in the user's prefs. That way there's no delay and then redrawing, it's all built in to the CSS.
Attachments (3)
Change History (7)
Note: See
TracTickets for help on using
tickets.
Here is a patch, which saves in a cookie list of the
id
's of closed boxes and closes them on page load.Since the cookie functions were already present in
upload.js
I took them out incookies.js
.