r3663 revert SELECT to its original form
authorDenis Ovsienko <infrastation@yandex.ru>
Thu, 27 May 2010 14:53:00 +0000 (14:53 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Thu, 27 May 2010 14:53:00 +0000 (14:53 +0000)
popup.php

index c951882c8e21dbcc05d8321c23baa1c500ce6cd3..4f89b0c8190fefeccc465501996ea3b359f4ccd5 100644 (file)
--- a/popup.php
+++ b/popup.php
@@ -96,7 +96,7 @@ header ('Content-Type: text/html; charset=UTF-8');
                        }
                        $spare_ports = findSparePorts ($port_id, $only_racks);
 
-                       printSelect ($spare_ports, array ('name' => 'ports', 'id' => 'ports'));
+                       printSelect ($spare_ports, array ('name' => 'ports', 'size' => getConfigVar ('MAXSELSIZE')));
                        echo '<br><br>';
                        echo "<input type='submit' value='Link' onclick='".
                        "if (getElementById(\"ports\").value != \"\") {".