[xwiki-notifications] [Issue] Created: (XE-266) Pop-up confirmation window makes rollback function can not work for pages named in Chinese

lidan (JIRA) jira at xwiki.org
Sun Jun 22 14:22:54 CEST 2008


Pop-up confirmation window makes rollback function can not work for pages named in Chinese
------------------------------------------------------------------------------------------

                 Key: XE-266
                 URL: http://jira.xwiki.org/jira/browse/XE-266
             Project: XWiki Enterprise
          Issue Type: Bug
    Affects Versions: 1.4.1
            Reporter: lidan


When click rollback in history page to rollback a page, the system will pop up a window to confirm whether the user is sure to rollback. But for a page named in Chinese, it can not rollback because of some encoding problem.
The problem must be caused by the pop-up window, because when I enable the pop-up window, the rollback can work for a page named in Chinese. 
See 'historyinline.vm' 
$a href=tdoc.getURL("deleteversions","rev=$version$lang")" onclick="if (confirm('$msg.get("core.versions.delete.confirm.single", [$version])')){this.href += '&confirm=1'; return true;} return false;"  
I changed it to:
a href="$tdoc.getURL("rollback","rev=$version$lang")"
then rollback can work


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.xwiki.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the notifications mailing list