You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2009/04/16 13:54:24 UTC

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

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>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org