Commit cf25d945 authored by Ivan Tyagov's avatar Ivan Tyagov

Not always such a form is used on a Web Page context so be more robust

and check.
parent ac0959f8
...@@ -157,10 +157,7 @@ ...@@ -157,10 +157,7 @@
</record> </record>
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <global name="TALESMethod" module="Products.Formulator.TALESField"/>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
...@@ -173,16 +170,13 @@ ...@@ -173,16 +170,13 @@
</record> </record>
<record id="3" aka="AAAAAAAAAAM="> <record id="3" aka="AAAAAAAAAAM=">
<pickle> <pickle>
<tuple> <global name="TALESMethod" module="Products.Formulator.TALESField"/>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>not:here/getUrlString</string> </value> <value> <string>python: getattr(here, \'getUrlString\', None) is not None and not here.getUrlString()</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
400 401
\ No newline at end of file \ No newline at end of file
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