projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77d87f6
)
don't preset irrelevant params when doing a create - can cause unexpected results
author
eileen
<eileen@fuzion.co.nz>
Wed, 6 Mar 2013 08:38:58 +0000
(21:38 +1300)
committer
eileen
<eileen@fuzion.co.nz>
Thu, 7 Mar 2013 23:49:17 +0000
(12:49 +1300)
js/jquery/jquery.crmeditable.js
patch
|
blob
|
blame
|
history
diff --git
a/js/jquery/jquery.crmeditable.js
b/js/jquery/jquery.crmeditable.js
index de115b638e2f807c5e4e4e740a52e358b41f394e..f4a32c0096571ab2b2751b89a2c8d355e74e18c4 100644
(file)
--- a/
js/jquery/jquery.crmeditable.js
+++ b/
js/jquery/jquery.crmeditable.js
@@
-244,6
+244,8
@@
if ($i.data('action')) {
params[params['field']]=value;//format for create at least
action=$i.data('action');
+ delete params['field'];
+ delete params['value'];
} else {
action="setvalue";
}