From cd24cb54bd431be3e6d86f3a0c821c2aa30f3c23 Mon Sep 17 00:00:00 2001 From: Luis Fernando Saisa Lopez Date: Tue, 2 Apr 2013 17:22:29 +0000 Subject: [PATCH] BUG 11111 "Every time yo open the JavaScript editor a blank space..." SOLVED - Every time yo open the JavaScript editor a blank space will be added automatically on top. - Problem solved, deleted node with character \n * Available from version ProcessMaker-2.0.47 (2.5.1) --- gulliver/system/class.dynaformhandler.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/gulliver/system/class.dynaformhandler.php b/gulliver/system/class.dynaformhandler.php index 40eae1945..c09bc6d38 100755 --- a/gulliver/system/class.dynaformhandler.php +++ b/gulliver/system/class.dynaformhandler.php @@ -225,9 +225,7 @@ class dynaFormHandler unset($attributes['#text']); } if (isset($attributes['#cdata'])) { - $newnode->appendChild($this->dom->createTextNode("\n")); $newnode->appendChild($this->dom->createCDATASection($attributes['#cdata'])); - $newnode->appendChild($this->dom->createTextNode("\n")); unset($attributes['#cdata']); }