products/CPSonFive.old

changeset 39:a744d75fa2a7

Changed the method name to something that makes more sense.
author lregebro
date Wed, 03 May 2006 12:29:50 +0000
parents d0b991b4f48b
children 8372165fef22
files CHANGES form/documentnavigation_popup.pt form/interfaces.py
diffstat 3 files changed, 5 insertions(+), 3 deletions(-) [+]
line diff
     1.1 --- a/CHANGES
     1.2 +++ b/CHANGES
     1.3 @@ -11,4 +11,6 @@
     1.4  -
     1.5  New internal features:
     1.6  ~~~~~~~~~~~~~~~~~~~~~~
     1.7 --
     1.8 +- Calling the Document Navigation method "getCalendarNavigation" didn't
     1.9 +  make any sense, and is a leftover since this was a part of the calendar.
    1.10 +  It is now called "getDocumentNavigation".
     2.1 --- a/form/documentnavigation_popup.pt
     2.2 +++ b/form/documentnavigation_popup.pt
     2.3 @@ -4,7 +4,7 @@
     2.4    tal:define="roots ttool/objectIds;
     2.5  	      root_uid request/form/root_uid|string:sections;
     2.6                doc here/document|nothing;
     2.7 -              res python:here.getCalendarNavigation(finder='cps',
     2.8 +              res python:here.getDocumentNavigation(finder='cps',
     2.9                  root_uid=root_uid, current_uid=doc, REQUEST=request);
    2.10                type string:folder;
    2.11  	      navlibskin nocall:here/navigation_lib|nothing;
     3.1 --- a/form/interfaces.py
     3.2 +++ b/form/interfaces.py
     3.3 @@ -22,7 +22,7 @@
     3.4  class IDocumentNavigation(Interface):
     3.5      """Support for popup document navigation windows"""
     3.6      
     3.7 -    def getCalendarNavigation(finder, root_uid, current_uid=None, REQUEST=None):
     3.8 +    def getDocumentNavigation(finder, root_uid, current_uid=None, REQUEST=None):
     3.9          """Returns a CPSNavigation object
    3.10  
    3.11          The navigation popup uses a CPSNavigation object to display a