idok-commit AT lists.psi.ch
Subject: Commit emails of the iDok project
List archive
[idok-commit] idok commit r270 - trunk/sites/psi/java/ch/psi/idok/gwt/twiki/client
Chronological Thread
- From: "AFS account Roman Geus" <geus AT savannah.psi.ch>
- To: idok-commit AT lists.psi.ch
- Subject: [idok-commit] idok commit r270 - trunk/sites/psi/java/ch/psi/idok/gwt/twiki/client
- Date: Fri, 3 Oct 2008 13:40:33 +0200
- List-archive: <https://lists.web.psi.ch/pipermail/idok-commit/>
- List-id: Commit emails of the iDok project <idok-commit.lists.psi.ch>
Author: geus
Date: Fri Oct 3 13:40:32 2008
New Revision: 270
Log:
Made querying of idokEnabled variable more robust in
IdokSearchTwikiMashup.java
Modified:
trunk/sites/psi/java/ch/psi/idok/gwt/twiki/client/IdokSearchTwikiMashup.java
Modified:
trunk/sites/psi/java/ch/psi/idok/gwt/twiki/client/IdokSearchTwikiMashup.java
==============================================================================
---
trunk/sites/psi/java/ch/psi/idok/gwt/twiki/client/IdokSearchTwikiMashup.java
(original)
+++
trunk/sites/psi/java/ch/psi/idok/gwt/twiki/client/IdokSearchTwikiMashup.java
Fri Oct 3 13:40:32 2008
@@ -95,7 +95,9 @@
RootPanel idokEnabledPanel = RootPanel.get("idokEnabled");
if (idokEnabledPanel != null)
idokEnabled = idokEnabledPanel.getElement().getInnerText();
- if ("on".equals(idokEnabled)) {
+ if ("on".equalsIgnoreCase(idokEnabled)
+ || "yes".equalsIgnoreCase(idokEnabled)
+ || "true".equalsIgnoreCase(idokEnabled)) {
RootPanel idokDefaultRepositoryPanel = RootPanel
.get("idokDefaultRepository");
if (idokDefaultRepositoryPanel != null)
- [idok-commit] idok commit r270 - trunk/sites/psi/java/ch/psi/idok/gwt/twiki/client, AFS account Roman Geus, 10/03/2008
Archive powered by MHonArc 2.6.19.