portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/portal/controls FusionPortletControl.java
Date Tue, 24 Aug 2004 18:14:32 GMT
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


Mime
View raw message