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-05-08 22:37:44 +02:00
2013-06-24 16:08:26 +02:00
2014-04-28 16:35:56 +02:00