The branch, master has been updated via 29bb225b920f4fbdc9977bcc795ae8f8e5c83a7b (commit) from 1f10c9b961f1ea62ae5903a321d2c9bca022e8ea (commit)
- Log ----------------------------------------------------------------- commit 29bb225b920f4fbdc9977bcc795ae8f8e5c83a7b Author: Marc Delisle marc@infomarc.info Date: Sun Jun 19 07:55:02 2011 -0400
Must use .prop() instead of .attr() here
-----------------------------------------------------------------------
Summary of changes: js/config.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/js/config.js b/js/config.js index a753034..94b2650 100644 --- a/js/config.js +++ b/js/config.js @@ -50,7 +50,7 @@ function setFieldValue(field, field_type, value) { field.attr('checked', (value != undefined ? value : field.attr('defaultChecked'))); break; case 'select': - var options = field.attr('options'); + var options = field.prop('options'); var i, imax = options.length; if (value == undefined) { for (i = 0; i < imax; i++) {
hooks/post-receive