Code style improvements, fixed JS errors, fixd HTML validity issues

This commit is contained in:
Herman van Rink
2009-09-13 13:45:52 +00:00
parent 35ee91c422
commit 180cc73c09
3 changed files with 13 additions and 11 deletions

View File

@@ -2729,7 +2729,7 @@ function PMA_getTitleForTarget($target) {
function PMA_js_mootools_domready($code, $print=true)
{
$out = '';
$out .= '<script language="JavaScript">'."\n";
$out .= '<script type="text/javascript">'."\n";
$out .= 'window.addEvent(\'domready\',function() {'."\n";
$out .= $code;
$out .= '});'."\n";
@@ -2744,7 +2744,7 @@ function PMA_js_mootools_domready($code, $print=true)
function PMA_js($code, $print=true)
{
$out = '';
$out .= '<script language="JavaScript">'."\n";
$out .= '<script type="text/javascript">'."\n";
$out .= $code;
$out .= '</script>'."\n";