js unterminated string literal when clicking to select a referenced key

This commit is contained in:
Marc Delisle
2007-05-14 14:29:44 +00:00
parent 0130b9d07b
commit ecd34fef27

View File

@@ -240,8 +240,7 @@ for ($i = 0; $i < count($GLOBALS['PMD']["TABLE_NAME"]); $i++) {
?> ?>
onmouseover="old_class = this.className; this.className = 'tab_field_2';" onmouseover="old_class = this.className; this.className = 'tab_field_2';"
onmouseout="this.className = old_class;" onmouseout="this.className = old_class;"
onmousedown="Click_field(' onmousedown="Click_field('<?php
<?php
echo $GLOBALS['PMD_URL']["TABLE_NAME_SMALL"][$i]."','".urlencode($tab_column[$t_n]["COLUMN_NAME"][$j])."',"; echo $GLOBALS['PMD_URL']["TABLE_NAME_SMALL"][$i]."','".urlencode($tab_column[$t_n]["COLUMN_NAME"][$j])."',";
if ($GLOBALS['PMD']['TABLE_TYPE'][$i] != 'INNODB') { if ($GLOBALS['PMD']['TABLE_TYPE'][$i] != 'INNODB') {
echo (isset($tables_pk_or_unique_keys[$t_n . "." . $tab_column[$t_n]["COLUMN_NAME"][$j]]) ? 1 : 0); echo (isset($tables_pk_or_unique_keys[$t_n . "." . $tab_column[$t_n]["COLUMN_NAME"][$j]]) ? 1 : 0);