From e5eb8657ed1239dc304758c6d239febb2dcd3360 Mon Sep 17 00:00:00 2001 From: eileen Date: Wed, 6 Mar 2013 21:38:58 +1300 Subject: [PATCH] don't preset irrelevant params when doing a create - can cause unexpected results --- js/jquery/jquery.crmeditable.js | 2 ++ 1 file changed, 2 insertions(+) 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"; } -- 2.25.1