projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
roojs-ui.js
[roojs1]
/
roojs-debug.js
diff --git
a/roojs-debug.js
b/roojs-debug.js
index
beb5f43
..
05c2043
100644
(file)
--- a/
roojs-debug.js
+++ b/
roojs-debug.js
@@
-45025,7
+45025,9
@@
Roo.extend(Roo.form.Checkbox, Roo.form.Field, {
this.fireEvent('check', this, state);
}
this.inSetChecked = true;
this.fireEvent('check', this, state);
}
this.inSetChecked = true;
- this.el.dom.value = state ? this.inputValue : this.valueOff;
+
+ this.el.dom.value = state ? this.inputValue : this.valueOff;
+
this.inSetChecked = false;
},
this.inSetChecked = false;
},
@@
-54290,6
+54292,9
@@
clientValidation Boolean Applies to submit only. Pass true to call fo
for(id in values){
if(typeof values[id] != 'function' && (field = this.findField(id))){
for(id in values){
if(typeof values[id] != 'function' && (field = this.findField(id))){
+
+
+
if (field.setFromData &&
field.valueField &&
field.displayField &&
if (field.setFromData &&
field.valueField &&
field.displayField &&
@@
-54304,6
+54309,9
@@
clientValidation Boolean Applies to submit only. Pass true to call fo
sd[field.displayField] = typeof(values[field.name]) == 'undefined' ? '' : values[field.name];
field.setFromData(sd);
sd[field.displayField] = typeof(values[field.name]) == 'undefined' ? '' : values[field.name];
field.setFromData(sd);
+ } else if (field.inputType && field.inputType == 'radio') {
+
+ field.setValue(values[id]);
} else {
field.setValue(values[id]);
}
} else {
field.setValue(values[id]);
}
@@
-54329,7
+54337,7
@@
clientValidation Boolean Applies to submit only. Pass true to call fo
/**
* Returns the fields in this form as an object with key/value pairs. If multiple fields exist with the same name
* they are returned as an array.
/**
* Returns the fields in this form as an object with key/value pairs. If multiple fields exist with the same name
* they are returned as an array.
- * @param {Boolean} asString (def
ault false
)
+ * @param {Boolean} asString (def)
* @return {Object}
*/
getValues : function(asString)
* @return {Object}
*/
getValues : function(asString)