The branch, master has been updated via 27e98f45325d21f900fe7284878885f1a27cbfc7 (commit) from 698126002c0d0d37559e938f0ced5dac56700e7d (commit)
- Log ----------------------------------------------------------------- commit 27e98f45325d21f900fe7284878885f1a27cbfc7 Author: Marc Delisle marc@infomarc.info Date: Tue Feb 8 18:37:30 2011 -0500
Better name for this function
-----------------------------------------------------------------------
Summary of changes: js/functions.js | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/js/functions.js b/js/functions.js index 57b4644..c1a6b26 100644 --- a/js/functions.js +++ b/js/functions.js @@ -1556,7 +1556,7 @@ function PMA_ajaxShowMessage(message, timeout) { /** * Hides/shows the "Open in ENUM/SET editor" message, depending on the data type of the column currently selected */ -function toggle_enum_notice(selectElement) { +function showNoticeForEnum(selectElement) { var enum_notice_id = selectElement.attr("id").split("_")[1]; enum_notice_id += "_" + (parseInt(selectElement.attr("id").split("_")[2]) + 1); var selectedType = selectElement.attr("value"); @@ -2041,13 +2041,13 @@ $(document).ready(function() { // // needs live() to work also in the Create Table dialog $("select[class='column_type']").live('change', function() { - toggle_enum_notice($(this)); + showNoticeForEnum($(this)); }); });
function PMA_verifyTypeOfAllColumns() { $("select[class='column_type']").each(function() { - toggle_enum_notice($(this)); + showNoticeForEnum($(this)); }); }
hooks/post-receive