Indeed, thanks for catching.
Alex
On 09/19/2010 06:22 PM, Jerome Velociter wrote:
Hello,
See below.
---------- Forwarded message ----------
From: abusenius <platform-notifications(a)xwiki.org>
Date: Sun, Sep 19, 2010 at 2:37 PM
Subject: [xwiki-notifications] r31169 - in
platform/web/trunk/standard/src/main/webapp:
resources/js/xwiki/editors resources/js/xwiki/usersandgroups templates
To: platform-notifications(a)xwiki.org
Author: abusenius
Date: 2010-09-19 14:37:25 +0200 (Sun, 19 Sep 2010)
New Revision: 31169
Modified:
platform/web/trunk/standard/src/main/webapp/resources/js/xwiki/editors/dataeditors.js
platform/web/trunk/standard/src/main/webapp/resources/js/xwiki/usersandgroups/usersandgroups.js
platform/web/trunk/standard/src/main/webapp/templates/addnewgroup.vm
platform/web/trunk/standard/src/main/webapp/templates/attachmentsinline.vm
platform/web/trunk/standard/src/main/webapp/templates/attachwysiwyg.vm
platform/web/trunk/standard/src/main/webapp/templates/changeavatar.vm
platform/web/trunk/standard/src/main/webapp/templates/changemyavatar.vm
platform/web/trunk/standard/src/main/webapp/templates/commentsinline.vm
platform/web/trunk/standard/src/main/webapp/templates/copy.vm
platform/web/trunk/standard/src/main/webapp/templates/delete.vm
platform/web/trunk/standard/src/main/webapp/templates/documentTags.vm
platform/web/trunk/standard/src/main/webapp/templates/edit.vm
platform/web/trunk/standard/src/main/webapp/templates/editclass.vm
platform/web/trunk/standard/src/main/webapp/templates/editgroup.vm
platform/web/trunk/standard/src/main/webapp/templates/editinline.vm
platform/web/trunk/standard/src/main/webapp/templates/editobject.vm
platform/web/trunk/standard/src/main/webapp/templates/edituser.vm
platform/web/trunk/standard/src/main/webapp/templates/editwysiwyg.vm
platform/web/trunk/standard/src/main/webapp/templates/editwysiwygnew.vm
platform/web/trunk/standard/src/main/webapp/templates/getgroupmembers.vm
platform/web/trunk/standard/src/main/webapp/templates/historyinline.vm
platform/web/trunk/standard/src/main/webapp/templates/importinline.vm
platform/web/trunk/standard/src/main/webapp/templates/passwd.vm
platform/web/trunk/standard/src/main/webapp/templates/recyclebinlist.vm
platform/web/trunk/standard/src/main/webapp/templates/registerinline.vm
platform/web/trunk/standard/src/main/webapp/templates/registeruser.vm
platform/web/trunk/standard/src/main/webapp/templates/renameStep1.vm
platform/web/trunk/standard/src/main/webapp/templates/resetversions.vm
platform/web/trunk/standard/src/main/webapp/templates/rightsUI.vm
platform/web/trunk/standard/src/main/webapp/templates/rollback.vm
platform/web/trunk/standard/src/main/webapp/templates/userinactive.vm
Log:
XWIKI-5462: Added CSRF tokens to all default templates
[snip]
Modified:
platform/web/trunk/standard/src/main/webapp/templates/editgroup.vm
===================================================================
--- platform/web/trunk/standard/src/main/webapp/templates/editgroup.vm 2010-09-18
23:58:17 UTC (rev 31168)
+++ platform/web/trunk/standard/src/main/webapp/templates/editgroup.vm 2010-09-19
12:37:25 UTC (rev 31169)
@@ -71,7 +71,8 @@
//<![CDATA[
(function() {
var startup = function() {
- tabl = new ASSTable("$url", 15, "display1",
"scrollbar1", "memberstable", displayMembers, true);
+ var callback = function(row, i, table) { return displayMembers(row, i, table,
form_token) };
+ tabl = new ASSTable("$url", 15, "display1",
"scrollbar1", "memberstable", callback, true);
I think something is missing here. For me the form_token you pass here
to displayMembers is always undefined.
Am I missing something ?
Thanks,
Jerome.
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs