svn commit: r765587 - /lenya/branches/BRANCH_2_0_X/src/modules/editors/usecases/insertLink.jx

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: andreas
Date: Thu Apr 16 11:54:24 2009
New Revision: 765587

URL: http://svn.apache.org/viewvc?rev=765587&view=rev
Log:
Fix language switching for insertLink usecase.

Modified:
    lenya/branches/BRANCH_2_0_X/src/modules/editors/usecases/insertLink.jx

Modified: lenya/branches/BRANCH_2_0_X/src/modules/editors/usecases/insertLink.jx
URL: http://svn.apache.org/viewvc/lenya/branches/BRANCH_2_0_X/src/modules/editors/usecases/insertLink.jx?rev=765587&r1=765586&r2=765587&view=diff
==============================================================================
--- lenya/branches/BRANCH_2_0_X/src/modules/editors/usecases/insertLink.jx (original)
+++ lenya/branches/BRANCH_2_0_X/src/modules/editors/usecases/insertLink.jx Thu Apr 16 11:54:24 2009
@@ -57,7 +57,7 @@
               <a id="${language}" class="lenya-tablink-active"><jx:out value="${language}"/></a>
             </jx:when>
             <jx:otherwise>
-              <a id="${language}" class="lenya-tablink" href="${usecase.getSourceURL()}?lenya.usecase=editors.insertLink">
+              <a id="${language}" class="lenya-tablink" href="lenya-document:,lang=${language}?lenya.usecase=editors.insertLink">
                 <jx:out value="${language}"/>
               </a>
             </jx:otherwise>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.