small fix for missed default-attributes on export, created eg:

<textbox ="" ...>
when exporting a textarea
This commit is contained in:
Ralf Becker 2002-09-16 23:07:33 +00:00
parent e04b602f4a
commit 401685cb1d
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@
</row> </row>
<row> <row>
<description value="Description"/> <description value="Description"/>
<textbox ="" cols="3" rows="100" span="all" id="descr" statustext="we have a fulltext search using that description"/> <textbox multiline="true" cols="3" rows="100" span="all" id="descr" statustext="we have a fulltext search using that description"/>
</row> </row>
<row> <row>
<description span="all"/> <description span="all"/>

View File

@ -161,7 +161,7 @@
} }
if (isset($widgetattr2xul['.set'])) // set default-attr for type if (isset($widgetattr2xul['.set'])) // set default-attr for type
{ {
$attrs = explode(',',$widgetattr2xul[1]); $attrs = explode(',',$widgetattr2xul['.set']);
while (list(,$attr) = each($attrs)) while (list(,$attr) = each($attrs))
{ {
list($attr,$val) = explode('=',$attr); list($attr,$val) = explode('=',$attr);