From e78e42a31b6d807a9cfce0b0578c7e2b16a776ae Mon Sep 17 00:00:00 2001 From: Aamir Khan Date: Fri, 12 Nov 2010 09:33:13 +0100 Subject: [PATCH] Refresh navigation after copying database (bug #3081099, patch# 3091778). --- js/db_operations.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/js/db_operations.js b/js/db_operations.js index a1355328f..4e3dedf4f 100644 --- a/js/db_operations.js +++ b/js/db_operations.js @@ -93,7 +93,8 @@ $(document).ready(function() { if( $("#checkbox_switch").is(":checked")) { window.parent.db = data.newname; window.parent.refreshMain(); - } + window.parent.refreshNavigation(); + } } else { PMA_ajaxShowMessage(data.error); @@ -123,4 +124,4 @@ $(document).ready(function() { }) // end $.get() }) // end change charset -}, 'top.frame_content'); \ No newline at end of file +}, 'top.frame_content');