Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRouslan Placella <rouslan@placella.com>2012-12-17 20:42:21 +0400
committerRouslan Placella <rouslan@placella.com>2012-12-17 20:42:21 +0400
commitc77ca2f842276032a7c964948b051f183c75d8c9 (patch)
tree1ca6be02946bbea83995c0d8d4c9557b3388a9fa /js/server_status_advisor.js
parente43cbe5b2e85f5aa5a777f7b40d05e97f1231fe5 (diff)
Improved advisor instructions dialog
Diffstat (limited to 'js/server_status_advisor.js')
-rw-r--r--js/server_status_advisor.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/js/server_status_advisor.js b/js/server_status_advisor.js
index 008a9b7bc3..b682a93feb 100644
--- a/js/server_status_advisor.js
+++ b/js/server_status_advisor.js
@@ -12,18 +12,22 @@ AJAX.registerTeardown('server_status_advisor.js', function() {
$('a[href="#openAdvisorInstructions"]').unbind('click');
$('#statustabs_advisor').html('');
$('#advisorDialog').dialog('destroy');
+ $('#instructionsDialog').dialog('destroy');
});
AJAX.registerOnload('server_status_advisor.js', function() {
/**** Server config advisor ****/
var $dialog = $('<div />').attr('id', 'advisorDialog');
+ var $instructionsDialog = $('<div />')
+ .attr('id', 'instructionsDialog')
+ .html($('#advisorInstructionsDialog').html());
$('a[href="#openAdvisorInstructions"]').click(function() {
var dlgBtns = {};
dlgBtns[PMA_messages['strClose']] = function() {
$(this).dialog('close');
};
- $('#advisorInstructionsDialog').dialog({
+ $instructionsDialog.dialog({
title: PMA_messages['strAdvisorSystem'],
width: 700,
buttons: dlgBtns