Ignore:
Timestamp:
11/12/08 10:06:27 (11 years ago)
Author:
cbyrom
Message:

Improve look + feel - esp. on windows IE + pass debug flag into
validator + properly handle empty author content.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MILK/trunk/milk_server/milk_server/config/milkMiddleware.py

    r4579 r4594  
    4646         
    4747        self.globals.atomEditorEnabled = cf.get('ATOM_EDITOR','enabled') 
    48         self.globals.debugAtomEditor = cf.get('ATOM_EDITOR','debug') 
     48        self.globals.debugAtomEditor = cf.get('ATOM_EDITOR','debug') or False 
    4949 
    5050        self.globals.wmcClientURL = cf.get('WMC_CLIENT','url') 
     
    6767        # set up the validator for atoms - to allow re-use across the app 
    6868        self.globals.validator = AtomValidator(None, self.globals.pwFile, \ 
    69                                        raiseException = True, newLineChar="<br/>") 
     69                                       raiseException = True, newLineChar="<br/>", 
     70                                       isDebug = self.globals.debugAtomEditor) 
    7071 
    7172        # initialise collection to store re-usable connections to the eXist DB 
Note: See TracChangeset for help on using the changeset viewer.