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:
authorMichal Čihař <michal@cihar.com>2014-05-06 21:48:59 +0400
committerMichal Čihař <michal@cihar.com>2014-05-06 21:48:59 +0400
commiteba8f462540ae62548a2bc15638e7e5898274f61 (patch)
treee0b910da85b47a91a687b2c9b360c0f648cc92f3 /js/db_search.js
parentd681d772633ab75a3b3bb6ba6d99169468bcf032 (diff)
Fixed indentation
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'js/db_search.js')
-rw-r--r--js/db_search.js37
1 files changed, 19 insertions, 18 deletions
diff --git a/js/db_search.js b/js/db_search.js
index d5eb449dc5..e430a68314 100644
--- a/js/db_search.js
+++ b/js/db_search.js
@@ -85,24 +85,25 @@ function deleteResult(result_path, msg)
var url = result_path + "#result_query, #sqlqueryform";
$.get(url, {'ajax_request': true, 'is_js_confirmed': true},
function (data) {
- if (data.success) {
- $('#sqlqueryform').html(data.sql_query);
- /** Refresh the search results after the deletion */
- document.getElementById('buttonGo').click();
- $('#togglequerybox').html(PMA_messages.strHideQueryBox);
- /** Show the results of the deletion option */
- $('#browse-results').hide();
- $('#sqlqueryform').show();
- $('#togglequerybox').show();
- $('html, body')
- .animate({
- scrollTop: $("#browse-results").offset().top
- }, 1000);
- PMA_ajaxRemoveMessage($msg);
- } else {
- PMA_ajaxShowMessage(data.error, false);
- }
- });
+ if (data.success) {
+ $('#sqlqueryform').html(data.sql_query);
+ /** Refresh the search results after the deletion */
+ document.getElementById('buttonGo').click();
+ $('#togglequerybox').html(PMA_messages.strHideQueryBox);
+ /** Show the results of the deletion option */
+ $('#browse-results').hide();
+ $('#sqlqueryform').show();
+ $('#togglequerybox').show();
+ $('html, body')
+ .animate({
+ scrollTop: $("#browse-results").offset().top
+ }, 1000);
+ PMA_ajaxRemoveMessage($msg);
+ } else {
+ PMA_ajaxShowMessage(data.error, false);
+ }
+ }
+ );
}
});
}