Changeset 4523


Ignore:
Timestamp:
02/12/08 16:45:27 (11 years ago)
Author:
cbyrom
Message:

Adjust saved path when uploading files - so that you are taken back to
the editor and not the upload screen + fix path to error template.

File:
1 edited

Legend:

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

    r4518 r4523  
    143143 
    144144        if uri and c.atom: 
     145            self.pathInfo = self.pathInfo.replace('upload', 'editAtom') 
    145146            return self.edit(c.atom.ndgURI) 
    146147        elif uri: 
    147148            # something has gone wrong here... 
    148             return render("genshi", 'error') 
     149            return render("genshi", 'atom_editor/error') 
    149150        else: 
    150151            return self.createGranule() 
     
    605606         
    606607        # lookup the eXist DB to use according to the provider ID for the  
    607         # data - NB, this is specified in the ndgDiscovery.config file 
     608        # data - NB, this is specified in the milk.config file 
    608609        existHost = self.cf.get('NDG_EXIST', providerID) 
    609610        configFile = self.cf.get('NDG_EXIST','passwordFile') 
Note: See TracChangeset for help on using the changeset viewer.