From 401685cb1d2374dc101f8b67559d05664e02ad97 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 16 Sep 2002 23:07:33 +0000 Subject: [PATCH] small fix for missed default-attributes on export, created eg: when exporting a textarea --- etemplate/doc/et_media/templates/default/et_media.edit.xul | 2 +- etemplate/inc/class.xul_io.inc.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/etemplate/doc/et_media/templates/default/et_media.edit.xul b/etemplate/doc/et_media/templates/default/et_media.edit.xul index 39c2bdf0ed..69cca12be1 100644 --- a/etemplate/doc/et_media/templates/default/et_media.edit.xul +++ b/etemplate/doc/et_media/templates/default/et_media.edit.xul @@ -33,7 +33,7 @@ - + diff --git a/etemplate/inc/class.xul_io.inc.php b/etemplate/inc/class.xul_io.inc.php index dd47e1228e..2644feae75 100644 --- a/etemplate/inc/class.xul_io.inc.php +++ b/etemplate/inc/class.xul_io.inc.php @@ -161,7 +161,7 @@ } if (isset($widgetattr2xul['.set'])) // set default-attr for type { - $attrs = explode(',',$widgetattr2xul[1]); + $attrs = explode(',',$widgetattr2xul['.set']); while (list(,$attr) = each($attrs)) { list($attr,$val) = explode('=',$attr);