Matthias Mees 78b83266e3 Rewrite show/hide functionality as a reusable function
Introducing serendipity.toggle_collapsible, which

– is a reusable function available via the serendipity namespace
– has arguments to customize the show/hide icon, but also has
  sensible default fallbacks for those arguments
– creates an individual key in localStorage to store the open/
  close state in

The latter also fixes a bug(?) which made show/hide in the entry
editor save the state for entry metadata and advanced options in
the same localStorage key. This could be improved with a fallback
for toggling elements which don't have an id.

References #144
2014-05-24 17:21:37 +02:00
..
2014-04-27 20:47:14 +02:00
2011-01-06 17:46:43 +00:00
2007-08-10 09:07:04 +00:00
2009-02-26 09:40:51 +00:00
2006-08-02 10:07:34 +00:00
2014-05-02 14:54:57 +02:00