Ignore:
Timestamp:
14/03/08 12:17:32 (14 years ago)
Author:
cbyrom
Message:

Complete drag and drop functionality for the View tab: add fixes to
allow overlaid maps to be properly displayed with transparancy + allow
removal of layers (NB, have to hide list items rather than remove them
otherwise the coupling with the drag and drop js control is lost and things
stop working) + allow removal of WMCs (NB, have to refresh delete event
listeners each time the tree view is redrawn, otherwise the event listeners
stop working).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/controllers/selectedItems.py

    r3544 r3607  
    5252            # ensure selections have been made 
    5353            if 'selectedItems' in session: 
     54                 
    5455                # the view tab uses its own selections session variable 
    5556                # - this should initially match that set here 
    5657                session['viewItems'] = copy.deepcopy(session['selectedItems']) 
     58                session.save() 
     59 
     60                # redirect to the view tab index code 
     61                h.redirect_to(h.url_for(controller='viewItems',action='index')) 
    5762                 
    58                 viewController = viewItems.ViewitemsController() 
    59                 return viewController.index() 
    6063         
    6164        else: 
     
    167170                deletedItem = selection 
    168171                 
    169                  
    170172        # if the new list is empty, remove the session variable and hide the selection page 
    171173        if len(selections) == 0: 
Note: See TracChangeset for help on using the changeset viewer.