~loggerhead-team/loggerhead/trunk-rich

Viewing all changes in revision 245.2.1.

  • Committer: James Westby
  • Date: 2008-11-26 14:16:27 UTC
  • mto: This revision was merged to the branch mainline in revision 247.
  • Revision ID: jw+debian@jameswestby.net-20081126141627-ifbr90l6bnfczmbm
Don't break the expanders if the search box is removed.

If the search box is not in the HTML then the javascript run on domready for
the search box causes an error, and so the javascript to create the expanders
is not run.

Adding an "if ($defined(" allows the javascript to be resilient against the
search box not being present.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: