Revert "document.write conflicts with jQuery. Use $(body).append() instead at"

This reverts commit 20fce4cdcd.
This commit is contained in:
ninadsp
2010-05-29 01:40:05 +05:30
parent 20fce4cdcd
commit d5b50587e7

View File

@@ -1272,7 +1272,7 @@ function PMA_showMessage($message, $sql_query = null, $type = 'notice', $is_view
}
$inline_edit = "<script type=\"text/javascript\">\n" .
"//<![CDATA[\n" .
"$(body).append('[<a href=\"#\" title=\"" .
"document.write('[<a href=\"#\" title=\"" .
PMA_escapeJsString(__('Inline edit of this query')) .
"\" id=\"inline_edit\">" .
PMA_escapeJsString(__('Inline')) .