Opened 19 years ago
Closed 19 years ago
#5610 closed enhancement (fixed)
2.5 Toggle boxes should save
| Reported by: | matt | Owned by: | nbachiyski |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.5 |
| Component: | General | Version: | 2.5 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.jsI took them out incookies.js.