diff --git a/js/db_operations.js b/js/db_operations.js
index 502ca0d00..93d13c479 100644
--- a/js/db_operations.js
+++ b/js/db_operations.js
@@ -85,9 +85,12 @@ $(document).ready(function() {
event.preventDefault();
PMA_ajaxShowMessage(PMA_messages['strCopyingDatabase']);
- $(this).append('');
+ $form = $(this);
+ if (! $form.find('input:hidden').is('#ajax_request_hidden')) {
+ $form.append('');
+ }
- $.get($(this).attr('action'), $(this).serialize(), function(data) {
+ $.get($form.attr('action'), $form.serialize(), function(data) {
if(data.success == true) {
PMA_ajaxShowMessage(data.message);
if( $("#checkbox_switch").is(":checked")) {