The branch, master has been updated via 89e54ceb3a463267371749aaeb12383c6b58f987 (commit) from d012edac93bdd1f2a7b519b6e9ad0534cc45b1b4 (commit)
- Log ----------------------------------------------------------------- commit 89e54ceb3a463267371749aaeb12383c6b58f987 Author: Marc Delisle marc@infomarc.info Date: Thu May 26 13:01:06 2011 -0400
These must now be accessed with .prop()
-----------------------------------------------------------------------
Summary of changes: js/config.js | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/js/config.js b/js/config.js index 7f55503..0596928 100644 --- a/js/config.js +++ b/js/config.js @@ -15,7 +15,7 @@ var PMA_messages = {}; */ function getFieldType(field) { field = $(field); - var tagName = field.attr('tagName'); + var tagName = field.prop('tagName'); if (tagName == 'INPUT') { return field.attr('type'); } else if (tagName == 'SELECT') { @@ -81,11 +81,11 @@ function getFieldValue(field, field_type) { field = $(field); switch (field_type) { case 'text': - return field.attr('value'); + return field.prop('value'); case 'checkbox': - return field.attr('checked'); + return field.prop('checked'); case 'select': - var options = field.attr('options'); + var options = field.prop('options'); var i, imax = options.length, items = []; for (i = 0; i < imax; i++) { if (options[i].selected) {
hooks/post-receive