diff options
author | Michael Hamann <michael@content-space.de> | 2011-09-08 11:27:42 +0200 |
---|---|---|
committer | Michael Hamann <michael@content-space.de> | 2011-09-08 11:39:00 +0200 |
commit | fb46ebd87eb43d5cd9f67f353f6656d0e3a0b196 (patch) | |
tree | b89b580659168d8550dcca66fb0c303389b77aaf /lib/scripts/behaviour.js | |
parent | aea34b5fe445064477d8ad0c98926db33a0d0851 (diff) | |
parent | cc2c0b9d6af82732ed79eeb85c22b7c3192a4e55 (diff) | |
download | rpg-fb46ebd87eb43d5cd9f67f353f6656d0e3a0b196.tar.gz rpg-fb46ebd87eb43d5cd9f67f353f6656d0e3a0b196.tar.bz2 |
Merge branch 'media-revisions'
This introduces a new media manager and media revisions to DokuWiki. The
changes have been implemented by Kate Arzamastseva and are the
result of a Google Summer of Code project, the official project page can
be found at
http://www.google-melange.com/gsoc/project/google/gsoc2011/kate/18001
Thanks to Kate for the work and Google for sponsoring it!
Diffstat (limited to 'lib/scripts/behaviour.js')
-rw-r--r-- | lib/scripts/behaviour.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/scripts/behaviour.js b/lib/scripts/behaviour.js index afb210840..cfdc89157 100644 --- a/lib/scripts/behaviour.js +++ b/lib/scripts/behaviour.js @@ -63,7 +63,9 @@ var dw_behaviour = { quickSelect: function(){ jQuery('select.quickselect') .change(function(e){ e.target.form.submit(); }) - .parents('form').find('input[type=submit]').hide(); + .parents('form').find('input[type=submit]').each(function(){ + if (!jQuery(this).hasClass('show')) jQuery(this).hide(); + }); }, /** |