On 04/20/2010 07:30 PM, dgervalle (SVN) wrote:
Author: dgervalle
Date: 2010-04-20 19:12:25 +0200 (Tue, 20 Apr 2010)
New Revision: 28464
Modified:
platform/web/trunk/standard/src/main/webapp/templates/edituser.vm
Log:
XWIKI-5126 Link to force editing a locked user is wrong in new UI
Change applied as described
Modified: platform/web/trunk/standard/src/main/webapp/templates/edituser.vm
===================================================================
--- platform/web/trunk/standard/src/main/webapp/templates/edituser.vm 2010-04-20 14:07:08
UTC (rev 28463)
+++ platform/web/trunk/standard/src/main/webapp/templates/edituser.vm 2010-04-20 17:12:25
UTC (rev 28464)
@@ -6,7 +6,7 @@
<div>
$msg.get("doclockedby") $xwiki.getLocalUserName($doc.getLockingUser()).
<br />
-<a href="$doc.getURL("inline",
"$!request.getQueryString()&force=1")">$msg.get("forcelock")</a>
+<a href="javascript:window.lb.lbLoadForm('$doc.getURL("inline",
"$!request.getQueryString()&force=1")')">$msg.get("forcelock")</a>
No, no, no! We don't allow javasript: in links.
</div>
#else
<div class="clear">
--
Sergiu Dumitriu
http://purl.org/net/sergiu/