Return-Path: Delivered-To: apmail-jakarta-jetspeed-dev-archive@www.apache.org Received: (qmail 83341 invoked from network); 24 Aug 2004 18:14:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 24 Aug 2004 18:14:36 -0000 Received: (qmail 75581 invoked by uid 500); 24 Aug 2004 18:14:33 -0000 Delivered-To: apmail-jakarta-jetspeed-dev-archive@jakarta.apache.org Received: (qmail 75514 invoked by uid 500); 24 Aug 2004 18:14:33 -0000 Mailing-List: contact jetspeed-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jetspeed Developers List" Reply-To: "Jetspeed Developers List" Delivered-To: mailing list jetspeed-dev@jakarta.apache.org Received: (qmail 75499 invoked by uid 500); 24 Aug 2004 18:14:33 -0000 Received: (qmail 75496 invoked by uid 99); 24 Aug 2004 18:14:32 -0000 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.27.1) with SMTP; Tue, 24 Aug 2004 11:14:32 -0700 Received: (qmail 83298 invoked by uid 1265); 24 Aug 2004 18:14:32 -0000 Date: 24 Aug 2004 18:14:32 -0000 Message-ID: <20040824181432.83297.qmail@minotaur.apache.org> From: taylor@apache.org To: jakarta-jetspeed-cvs@apache.org Subject: cvs commit: jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/portal/controls FusionPortletControl.java X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N taylor 2004/08/24 11:14:32 Modified: fusion/src/java/org/apache/jetspeed/fusion/portal/controls FusionPortletControl.java Log: fixed bug where Edit mode was showing on the action list when it should be hidden CVS: ---------------------------------------------------------------------- CVS: PR: CVS: If this change addresses a PR in the problem report tracking CVS: database, then enter the PR number(s) here. CVS: Obtained from: CVS: If this change has been taken from another system, such as NCSA, CVS: then name the system in this line, otherwise delete it. CVS: Submitted by: CVS: If this code has been contributed to Apache by someone else; i.e., CVS: they sent us a patch or a new module, then include their name/email CVS: address here. If this is your work then delete this line. CVS: Reviewed by: CVS: If we are doing pre-commit code reviews and someone else has CVS: reviewed your changes, include their name(s) here. CVS: If you have not had it reviewed then delete this line. Revision Changes Path 1.2 +3 -2 jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/portal/controls/FusionPortletControl.java Index: FusionPortletControl.java =================================================================== RCS file: /home/cvs/jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/portal/controls/FusionPortletControl.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- FusionPortletControl.java 11 Aug 2004 06:40:49 -0000 1.1 +++ FusionPortletControl.java 24 Aug 2004 18:14:32 -0000 1.2 @@ -145,7 +145,8 @@ boolean targeted = fusion.isTargeted(jdata, instance, action); boolean customized = (jdata.getMode() == JetspeedRunData.CUSTOMIZE || - mode2 == PortletMode.EDIT); + targeted && action.equals(J1_EDIT_ACTION) || + mode2 == PortletMode.EDIT); boolean maximized = (jdata.getMode() == JetspeedRunData.MAXIMIZE || state2 == WindowState.MAXIMIZED); --------------------------------------------------------------------- To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org