~ubuntu-branches/ubuntu/lucid/phpmyadmin/lucid

« back to all changes in this revision

Viewing changes to js/mootools_common.js

  • Committer: Bazaar Package Importer
  • Author(s): Michal Čihař
  • Date: 2010-03-08 15:25:00 UTC
  • mfrom: (1.2.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20100308152500-6e8hmuqc5co39de5
Tags: 4:3.3.0-1
* New upstream version.
* Rediff debian/patches.
* Fix permissions on mediawiki export extension.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* vim: set expandtab sw=4 ts=4 sts=4: */
 
2
/**
 
3
 *  Used for replication support
 
4
 *
 
5
 * @version $Id: mootools_common.js 12905 2009-08-30 17:06:12Z lem9 $
 
6
 */
 
7
 
 
8
function divShowHideFunc(ahref, id) {
 
9
      $(ahref).addEvent('click', function() {
 
10
      if ($(id).getStyle('display')=="none")
 
11
        $(id).tween('display', 'block');
 
12
      else
 
13
        $(id).tween('display', 'none');
 
14
    });
 
15
}