diff options
author | Andreas Gohr <andi@splitbrain.org> | 2008-03-15 11:43:39 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2008-03-15 11:43:39 +0100 |
commit | deb28ffb867996e1228083a82c905b5979182cae (patch) | |
tree | 402be771ab9184ed798d2a1966f33d02ce9dd302 /lib/plugins | |
parent | b77581e2e665d4f77a49702ac0dc014d1c0678d3 (diff) | |
download | rpg-deb28ffb867996e1228083a82c905b5979182cae.tar.gz rpg-deb28ffb867996e1228083a82c905b5979182cae.tar.bz2 |
IE compatibility fixes for ACL manager FS#1343
darcs-hash:20080315104339-7ad00-552c8aae43bad5241fc4bad547fb7505a58bd3fc.gz
Diffstat (limited to 'lib/plugins')
-rw-r--r-- | lib/plugins/acl/admin.php | 4 | ||||
-rw-r--r-- | lib/plugins/acl/script.js | 11 | ||||
-rw-r--r-- | lib/plugins/acl/style.css | 1 |
3 files changed, 10 insertions, 6 deletions
diff --git a/lib/plugins/acl/admin.php b/lib/plugins/acl/admin.php index 0101ea487..9dbf58971 100644 --- a/lib/plugins/acl/admin.php +++ b/lib/plugins/acl/admin.php @@ -31,7 +31,7 @@ class admin_plugin_acl extends DokuWiki_Admin_Plugin { return array( 'author' => 'Andreas Gohr', 'email' => 'andi@splitbrain.org', - 'date' => '2007-11-17', + 'date' => '2008-03-15', 'name' => 'ACL', 'desc' => 'Manage Page Access Control Lists', 'url' => 'http://wiki.splitbrain.org/wiki:acl', @@ -554,7 +554,7 @@ class admin_plugin_acl extends DokuWiki_Admin_Plugin { echo '</td>'; echo '<td align="center">'; - echo '<input type="checkbox" name="del['.hsc($where).']" value="'.hsc($who).'" class="edit" />'; + echo '<input type="checkbox" name="del['.hsc($where).']" value="'.hsc($who).'" />'; echo '</td>'; echo '</tr>'; } diff --git a/lib/plugins/acl/script.js b/lib/plugins/acl/script.js index f269ed2fe..b719cda58 100644 --- a/lib/plugins/acl/script.js +++ b/lib/plugins/acl/script.js @@ -123,9 +123,14 @@ acl = { return false; }, - + /** + * Handles all clicks in the tree, dispatching the right action based on the + * clicked element + */ treehandler: function(e){ - if(e.target.href){ // is it a link? + if(e.target.src){ // is it an image? + acl.treetoggle(e.target); + } else if(e.target.href){ // is it a link? // remove highlighting var obj = getElementsByClass('cur',$('acl__tree'),'a')[0]; if(obj) obj.className = obj.className.replace(/ cur/,''); @@ -144,8 +149,6 @@ acl = { } acl.loadinfo(); - }else if(e.target.src){ // is it an image? - acl.treetoggle(e.target); } e.stopPropagation(); diff --git a/lib/plugins/acl/style.css b/lib/plugins/acl/style.css index e49c92e5f..0c5a9819b 100644 --- a/lib/plugins/acl/style.css +++ b/lib/plugins/acl/style.css @@ -26,6 +26,7 @@ div#acl_manager div#acl__tree li { div#acl_manager div#acl__tree ul img { margin-right: 0.25em; + cursor: pointer; } div#acl_manager div#acl__detail { |