r4291 fix redirection URI
authorDenis Ovsienko <infrastation@yandex.ru>
Sat, 5 Mar 2011 13:23:30 +0000 (13:23 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Sat, 5 Mar 2011 13:23:30 +0000 (13:23 +0000)
wwwroot/popup.php

index 8c45a634855234fd478ff5b197ba365d9cb7cc9d..0f14777b8300da17da2b1b147f0f2ed4bad6d7e4 100644 (file)
@@ -179,7 +179,7 @@ header ('Content-Type: text/html; charset=UTF-8');
                        echo '<br>';
                        echo "<input type='submit' value='Link' onclick='".
                        "if (getElementById(\"ports\").value != \"\") {".
-                       "       opener.location=\"module=redirect&page=object&tab=ports&op=linkPort&object_id=${port_info['object_id']}&port_id=$port_id&remote_port_id=\"+getElementById(\"ports\").value+\"&cable=\"+getElementById(\"cable\").value; ".
+                       "       opener.location=\"?module=redirect&page=object&tab=ports&op=linkPort&object_id=${port_info['object_id']}&port_id=$port_id&remote_port_id=\"+getElementById(\"ports\").value+\"&cable=\"+getElementById(\"cable\").value; ".
                        "       window.close();}'>";
                        echo '</form></div>';
                        break;