projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f39e780
)
Roo/bootstrap/MoneyField.js
author
edward
<edward@roojs.com>
Mon, 23 Apr 2018 11:23:16 +0000
(19:23 +0800)
committer
edward
<edward@roojs.com>
Mon, 23 Apr 2018 11:23:16 +0000
(19:23 +0800)
Roo/bootstrap/MoneyField.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/MoneyField.js
b/Roo/bootstrap/MoneyField.js
index
846faa7
..
1acfd06
100644
(file)
--- a/
Roo/bootstrap/MoneyField.js
+++ b/
Roo/bootstrap/MoneyField.js
@@
-332,8
+332,8
@@
Roo.extend(Roo.bootstrap.MoneyField, Roo.bootstrap.ComboBox, {
this.lastData = o;
- if (this.
displa
yField) {
-
dv = !o || typeof(o[this.displayField]) == 'undefined' ? '' : o[this.displa
yField];
+ if (this.
currenc
yField) {
+
currency = !o || typeof(o[this.currencyField]) == 'undefined' ? '' : o[this.currenc
yField];
} else {
// this is an error condition!!!
Roo.log('no displayField value set for '+ (this.name ? this.name : this.id));