bufix from Olivier Guillaumin for IE
authorPierre Habouzit <madcoder@debian.org>
Mon, 1 Sep 2003 06:41:27 +0000 (06:41 +0000)
committerPierre Habouzit <madcoder@debian.org>
Mon, 1 Sep 2003 06:41:27 +0000 (06:41 +0000)
philter/philter/include/plugin_forward.inc.php

index 7ee74a6..0b06ede 100644 (file)
@@ -19,15 +19,15 @@ class FwdPlugin extends ActionPlugin {
             .   "    var select = document.createElement('select');\n"
             .   "    select.setAttribute('name', Node.name+'[1]');\n"
             .   "\n"
+            .   "    Node.appendChild(document.createTextNode(' email : '));\n"
+            .   "    Node.appendChild(select);\n"
+            .   "\n"
             .   "    for(i=0,j=0; i<mail_pool.length; i++) {\n"
             .   "        if(data[1]==i) sel = j;\n"
             .   "        if(mail_pool[i])\n"
             .   "            select.options[j++] = new Option(mail_pool[i],i,false,(data[1]==i));\n"
             .   "    }\n"
             .   "    select.selectedIndex = sel;\n"
-            .   "\n"
-            .   "    Node.appendChild(document.createTextNode(' email : '));\n"
-            .   "    Node.appendChild(select);\n"
             .   "}";
 
         return $res;