Changeset 4578 for MILK


Ignore:
Timestamp:
09/12/08 16:08:56 (11 years ago)
Author:
cbyrom
Message:

Fix pointer to error template and ensure initialisation of context error object.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MILK/trunk/milk_server/milk_server/controllers/atom_editor/editatom.py

    r4571 r4578  
    8686 
    8787 
    88     def __handleError(self, e, template='error'): 
     88    def __handleError(self, e, template='atom_editor/error'): 
    8989        ''' 
    9090        Handle exceptions thrown; if debug mode on, display full stack trace 
     
    671671        logging.info("Setting up new atom from granulite template") 
    672672        c.title='Create new data granule atom - from a granulite file' 
    673          
     673        c.errors = {} 
    674674        try: 
    675675            return savePageAndRender(self.pathInfo, 'atom_editor/atom_granulator') 
Note: See TracChangeset for help on using the changeset viewer.