From bb28e72f798463760f12459d6bc372ab04f5a9a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20Schro=CC=88der?= Date: Thu, 23 Jan 2014 09:40:06 +0100 Subject: [PATCH] preparation for entry action test --- application/core/FML/Controls/Entry.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/application/core/FML/Controls/Entry.php b/application/core/FML/Controls/Entry.php index a0b7d1f8..2513fba5 100644 --- a/application/core/FML/Controls/Entry.php +++ b/application/core/FML/Controls/Entry.php @@ -146,6 +146,9 @@ class Entry extends Control implements NewLineable, Scriptable, Styleable, TextF */ public function render(\DOMDocument $domDocument) { $xmlElement = parent::render($domDocument); + if (false) { + $xmlElement->setAttribute('action', 'TestAction'); + } if ($this->name) { $xmlElement->setAttribute('name', $this->name); }