projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d10679
)
fix sales person dropdown for single agent, RT#23402
author
Ivan Kohler
<ivan@freeside.biz>
Thu, 5 Sep 2013 05:54:18 +0000
(22:54 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Thu, 5 Sep 2013 05:54:18 +0000
(22:54 -0700)
httemplate/elements/tr-select-sales.html
patch
|
blob
|
history
diff --git
a/httemplate/elements/tr-select-sales.html
b/httemplate/elements/tr-select-sales.html
index
b69b3d8
..
c29e0d7
100644
(file)
--- a/
httemplate/elements/tr-select-sales.html
+++ b/
httemplate/elements/tr-select-sales.html
@@
-81,7
+81,11
@@
Example:
function <% $field %>_agentnum_changed(what) {
what.form.<% $field %>.disabled = 'disabled'; //disable sales dropdown
- agentnum = what.options[what.selectedIndex].value;
+ if ( what.type == 'hidden' ) {
+ agentnum = what.value;
+ } else {
+ agentnum = what.options[what.selectedIndex].value;
+ }
function update_<% $field %>(sales) {