no custom color picker if JS is not active

This commit is contained in:
Marc Delisle
2008-07-19 15:15:59 +00:00
parent 0c52f26e41
commit 15bafa3c33
2 changed files with 20 additions and 11 deletions

View File

@@ -124,8 +124,11 @@ function PMA_getHiddenFields($values, $pre = '')
if (is_array($value)) {
$fields .= PMA_getHiddenFields($value, $name);
} else {
// do not generate an ending "\n" because
// PMA_generate_common_hidden_inputs() is sometimes called
// from a JS document.write()
$fields .= '<input type="hidden" name="' . htmlspecialchars($name)
. '" value="' . htmlspecialchars($value) . '" />' . "\n";
. '" value="' . htmlspecialchars($value) . '" />';
}
}