From b071ac3fbc25171b61d5273618ab4d5c1ea6a9c0 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sun, 30 Aug 2009 16:51:04 +0000 Subject: [PATCH] replication support: missing file --- js/mootools_common.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 js/mootools_common.js diff --git a/js/mootools_common.js b/js/mootools_common.js new file mode 100644 index 000000000..f9f88a6cb --- /dev/null +++ b/js/mootools_common.js @@ -0,0 +1,15 @@ +/* vim: set expandtab sw=4 ts=4 sts=4: */ +/** + * Used for replication support + * + * @version $Id: + */ + +function divShowHideFunc(ahref, id) { + $(ahref).addEvent('click', function() { + if ($(id).getStyle('display')=="none") + $(id).tween('display', 'block'); + else + $(id).tween('display', 'none'); + }); +}