The branch, master has been updated via 605be1d45bb12e050687859d758632b3e8553712 (commit) from c03228e7f72d9b92fdc0bb504f1e9c68be942c64 (commit)
- Log ----------------------------------------------------------------- commit 605be1d45bb12e050687859d758632b3e8553712 Author: Marc Delisle marc@infomarc.info Date: Sat Dec 17 08:12:50 2011 -0500
Unused code
-----------------------------------------------------------------------
Summary of changes: js/functions.js | 27 +-------------------------- 1 files changed, 1 insertions(+), 26 deletions(-)
diff --git a/js/functions.js b/js/functions.js index f1e1277..d77c439 100644 --- a/js/functions.js +++ b/js/functions.js @@ -248,31 +248,6 @@ function confirmLink(theLink, theSqlQuery) return is_confirmed; } // end of the 'confirmLink()' function
- -/** - * Displays a confirmation box before doing some action - * - * @param object the message to display - * - * @return boolean whether to run the query or not - * - * @todo used only by libraries/display_tbl.lib.php. figure out how it is used - * and replace with a jQuery equivalent - */ -function confirmAction(theMessage) -{ - // TODO: Confirmation is not required in the configuration file - // or browser is Opera (crappy js implementation) - if (typeof(window.opera) != 'undefined') { - return true; - } - - var is_confirmed = confirm(theMessage); - - return is_confirmed; -} // end of the 'confirmAction()' function - - /** * Displays an error message if a "DROP DATABASE" statement is submitted * while it isn't allowed, else confirms a "DROP/DELETE/ALTER" query before @@ -3735,4 +3710,4 @@ function toggleRowColors($start) $curr_row.removeClass('even').addClass('odd'); } } -} \ No newline at end of file +}
hooks/post-receive