[kune-commits] r1574 - trunk/src/main/java/cc/kune/core/client/state

Vicente J. Ruiz Jurado vjrj_ at ourproject.org
Wed Oct 26 03:48:23 CEST 2011


Author: vjrj_
Date: 2011-10-26 03:48:23 +0200 (Wed, 26 Oct 2011)
New Revision: 1574

Modified:
   trunk/src/main/java/cc/kune/core/client/state/SiteTokenListeners.java
Log:
minor fix

Modified: trunk/src/main/java/cc/kune/core/client/state/SiteTokenListeners.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/state/SiteTokenListeners.java	2011-10-25 00:48:37 UTC (rev 1573)
+++ trunk/src/main/java/cc/kune/core/client/state/SiteTokenListeners.java	2011-10-26 01:48:23 UTC (rev 1574)
@@ -100,10 +100,9 @@
       }
     });
     put(SiteTokens.TRANSLATE, new HistoryTokenCallback() {
-      // FIXME, something to come back
       @Override
       public void onHistoryToken(final String token) {
-        if (session.getInitData().isTranslatorEnabled()) {
+        if (session.isLogged() && session.getInitData().isTranslatorEnabled()) {
           translator.get().show();
         }
       }




More information about the kune-commits mailing list