knguyen     2004/11/10 15:16:09 CET

  Modified files:        (Branch: JAHIA-4-0-BRANCH)
    src/java/org/jahia/gui GuiBean.java 
  Log:
  - is page in path should returns the current page
  
  Revision  Changes    Path
  1.44.2.4  +2 -2      jahia/src/java/org/jahia/gui/GuiBean.java
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/jahia/src/java/org/jahia/gui/GuiBean.java.diff?r1=1.44.2.3&r2=1.44.2.4&f=h
  
  
  
  Index: GuiBean.java
  ===================================================================
  RCS file: 
/home/cvs/repository/jahia/src/java/org/jahia/gui/Attic/GuiBean.java,v
  retrieving revision 1.44.2.3
  retrieving revision 1.44.2.4
  diff -u -r1.44.2.3 -r1.44.2.4
  --- GuiBean.java      20 Oct 2004 09:46:05 -0000      1.44.2.3
  +++ GuiBean.java      10 Nov 2004 14:16:08 -0000      1.44.2.4
  @@ -835,7 +835,7 @@
               Enumeration thePath = 
thePage.getContentPagePath(jParams.getOperationMode(), currentUser);
               while (thePath.hasMoreElements()) {
                   ContentPage aPage = (ContentPage) thePath.nextElement();
  -                if (aPage.getID() == destPageID && 
aPage.getID()!=thePage.getID() ) {
  +                if (aPage.getID() == destPageID) {
                       return true;
                   }
               }
  @@ -856,7 +856,7 @@
               Enumeration thePath = thePage.getContentPagePath(levels, 
jParams.getOperationMode(), currentUser);
               while (thePath.hasMoreElements()) {
                   ContentPage aPage = (ContentPage) thePath.nextElement();
  -                if (aPage.getID() == destPageID && 
aPage.getID()!=thePage.getID()) {
  +                if (aPage.getID() == destPageID) {
                       return true;
                   }
               }
  

Reply via email to