replication support: missing file

This commit is contained in:
Marc Delisle
2009-08-30 16:51:04 +00:00
parent 283dc91f85
commit b071ac3fbc

15
js/mootools_common.js Normal file
View File

@@ -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');
});
}