mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-06 08:55:08 +00:00
Monotone-Parent: 74fb27cf11d4f0564a4ac61bc6648ff8962ccc86
Monotone-Revision: 1d7595555adaaa499a56601d8635282526350a2e Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2008-01-08T16:07:21 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -226,6 +226,16 @@ Element.addMethods({
|
||||
else {
|
||||
element.select();
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
getRadioValue: function(element, radioName) {
|
||||
element = $(element);
|
||||
var radioValue;
|
||||
Form.getInputs(element, 'radio', radioName).each(function(input) {
|
||||
if (input.checked)
|
||||
radioValue = input.value;
|
||||
});
|
||||
return radioValue;
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user