The branch, master has been updated via c0cb47265649f33cb77cad4a73dff54ed1bd2556 (commit) from 49b6510b95e5b46dee494be9f8cf2ee86c732b79 (commit)
- Log ----------------------------------------------------------------- commit c0cb47265649f33cb77cad4a73dff54ed1bd2556 Author: Michal Čihař mcihar@novell.com Date: Mon Oct 25 17:46:00 2010 +0200
Reload navigation frame after creating database (bug #3081099).
-----------------------------------------------------------------------
Summary of changes: js/functions.js | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/js/functions.js b/js/functions.js index 472eb00..9facf22 100644 --- a/js/functions.js +++ b/js/functions.js @@ -2298,6 +2298,10 @@ $(document).ready(function() { var $databases_count_object = $('#databases_count'); var databases_count = parseInt($databases_count_object.text()); $databases_count_object.text(++databases_count); + //Refresh navigation frame as a new database has been added + if (window.parent && window.parent.frame_navigation) { + window.parent.frame_navigation.location.reload(); + } } else { PMA_ajaxShowMessage(data.error);
hooks/post-receive