From: eileen Date: Wed, 6 Mar 2013 08:38:58 +0000 (+1300) Subject: don't preset irrelevant params when doing a create - can cause unexpected results X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e5eb8657ed1239dc304758c6d239febb2dcd3360;p=civicrm-core.git don't preset irrelevant params when doing a create - can cause unexpected results --- diff --git a/js/jquery/jquery.crmeditable.js b/js/jquery/jquery.crmeditable.js index de115b638e..f4a32c0096 100644 --- 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"; }