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
..
2011-11-28 07:44:46 +01:00
2013-10-04 15:51:05 +02:00
2011-11-28 07:44:46 +01:00
2012-08-01 14:25:01 +02:00
2014-01-18 23:11:56 +01:00
2011-11-28 07:44:46 +01:00
2012-04-18 15:33:43 +02:00
2012-08-01 14:25:01 +02:00
2012-04-07 19:36:09 +02:00
2011-11-28 07:44:46 +01:00
2011-11-28 07:44:46 +01:00
2013-11-20 14:56:05 +01:00