diff options
author | Andreas Gohr <andi@splitbrain.org> | 2013-10-20 12:06:01 -0700 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2013-10-20 12:06:01 -0700 |
commit | 5ac95bc02916991a52a6735eceb732b9b97c2b1b (patch) | |
tree | 9f41f7c16c27132600642de8d6613c6b9e4f8db0 /lib/plugins/acl/script.js | |
parent | 12d06e83291e16be27c765ed98034f5ead301450 (diff) | |
parent | 4d13d89c45c088d6070c4e2da6d5b702f13c77ab (diff) | |
download | rpg-5ac95bc02916991a52a6735eceb732b9b97c2b1b.tar.gz rpg-5ac95bc02916991a52a6735eceb732b9b97c2b1b.tar.bz2 |
Merge pull request #378 from splitbrain/aclajax
acl plugin: move ajax.php to action.php
Diffstat (limited to 'lib/plugins/acl/script.js')
-rw-r--r-- | lib/plugins/acl/script.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/plugins/acl/script.js b/lib/plugins/acl/script.js index 0abb80d67..58598b1e0 100644 --- a/lib/plugins/acl/script.js +++ b/lib/plugins/acl/script.js @@ -25,9 +25,10 @@ var dw_acl = { var $frm = jQuery('#acl__detail form'); jQuery.post( - DOKU_BASE + 'lib/plugins/acl/ajax.php', + DOKU_BASE + 'lib/exe/ajax.php', jQuery.extend(dw_acl.parseatt($clicky.parent().find('a')[0].search), - {ajax: 'tree', + {call: 'plugin_acl', + ajax: 'tree', current_ns: $frm.find('input[name=ns]').val(), current_id: $frm.find('input[name=id]').val()}), show_sublist, @@ -64,8 +65,8 @@ var dw_acl = { .attr('role', 'alert') .html('<img src="'+DOKU_BASE+'lib/images/throbber.gif" alt="..." />') .load( - DOKU_BASE + 'lib/plugins/acl/ajax.php', - jQuery('#acl__detail form').serialize() + '&ajax=info' + DOKU_BASE + 'lib/exe/ajax.php', + jQuery('#acl__detail form').serialize() + '&call=plugin_acl&ajax=info' ); return false; }, |