Fix refresh lock page javascript for compatibility with IE
authorLeonardo Sápiras <l.sapiras@gmail.com>
Sat, 12 Jun 2010 13:42:22 +0000 (15:42 +0200)
committerioguix <ioguix@free.fr>
Sat, 12 Jun 2010 13:42:22 +0000 (15:42 +0200)
...which is stricter than others on this...

database.php

index 31e4d0a3a1c4e1c072ae0132f86c716d8874defe..290d2a0a6c75fa7228aefc16d0ba844967613ea3 100755 (executable)
                $scripts .= "server:'{$_REQUEST['server']}',\n";
                $scripts .= "dbname:'{$_REQUEST['database']}',\n";
                $scripts .= "action:'refresh_{$action}',\n";
-               $scripts .= "errmsg: '". str_replace("'", "\'", $lang['strconnectionfail']) ."',\n";
+               $scripts .= "errmsg: '". str_replace("'", "\'", $lang['strconnectionfail']) ."'\n";
                $scripts .= "};\n";
                $scripts .= "</script>\n";
        }