Commit 19a66eb0 authored by Casey Duncan's avatar Casey Duncan

Revert to previous code. This change breaks any property sheet with an integer property

parent a501eb84
......@@ -12,7 +12,7 @@
##############################################################################
"""Property management"""
__version__='$Revision: 1.47 $'[11:-2]
__version__='$Revision: 1.48 $'[11:-2]
import ExtensionClass, Globals
import ZDOM
......@@ -259,7 +259,7 @@ class PropertyManager(ExtensionClass.Base, ZDOM.ElementWithAttributes):
for prop in self._propertyMap():
name=prop['id']
if 'w' in prop.get('mode', 'wd'):
value=REQUEST.get(name, type_converters[prop['type']](''))
value=REQUEST.get(name, '')
self._updateProperty(name, value)
if REQUEST:
message="Saved changes."
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment