From f2e9103f5241caf4459401d744ffa637842a7c85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 8 Feb 2011 12:01:22 +0100 Subject: [PATCH] Drop not used function --- js/functions.js | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/js/functions.js b/js/functions.js index e445b92c9..fba8f9153 100644 --- a/js/functions.js +++ b/js/functions.js @@ -1481,31 +1481,6 @@ $(document).ready(function(){ } }); -/** - * Function to process the plain HTML response from an Ajax request. Inserts - * the various HTML divisions from the response at the proper locations. The - * array relates the divisions to be inserted to their placeholders. - * - * @param var divisions_map an associative array of id names - * - * - * PMA_ajaxInsertResponse({'resultsTable':'resultsTable_response', - * 'profilingData':'profilingData_response'}); - * - * - */ - -function PMA_ajaxInsertResponse(divisions_map) { - $.each(divisions_map, function(key, value) { - var content_div = '#'+value; - var target_div = '#'+key; - var content = $(content_div).html(); - - //replace content of target_div with that from the response - $(target_div).html(content); - }); -}; - /** * Show a message on the top of the page for an Ajax request *