Changeset 3454


Ignore:
Timestamp:
19/02/08 11:49:01 (12 years ago)
Author:
cbyrom
Message:

Simplify unselectItem method by retrieving item details from session object.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/config/routing.py

    r3421 r3454  
    4646#    map.connect('selection',controller='selection',action='index') 
    4747    map.connect('selectedItems',controller='selectedItems',action='index') 
    48     map.connect('addSelectedItem/:entryid/:kmlurl/:title/:divid',controller='selectedItems',action='addSelectedItem') 
    49     map.connect('unSelectItem/:entryid/:kmlurl/:title/:divid',controller='selectedItems',action='unSelectItem') 
     48    map.connect('addSelectedItem/:entryid/:kmlurl/:wmcurl/:title/:divid', 
     49                controller='selectedItems',action='addSelectedItem',kmlurl='',wmcurl='') 
     50    map.connect('unSelectItem/:entryid/:divid', controller='selectedItems',action='unSelectItem') 
    5051    map.connect('removeSelectedItem/:entryid',controller='selectedItems',action='removeSelectedItem') 
    5152    map.connect('expand/:uri',controller='selection',action='expand') 
Note: See TracChangeset for help on using the changeset viewer.