X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=js%2Fjquery%2Fjquery.crmEditable.js;h=ca1a08e24845a26c1ec129c0175bba0aed50d7ce;hb=6fe426fc1c924bbfcf29735d5f9e9763b1dbd389;hp=f6920f744b943d59823b33d0820dfacdbc2ca96e;hpb=43a6933288a9d6d27f5746b00618d6c751e90263;p=civicrm-core.git diff --git a/js/jquery/jquery.crmEditable.js b/js/jquery/jquery.crmEditable.js index f6920f744b..ca1a08e248 100644 --- a/js/jquery/jquery.crmEditable.js +++ b/js/jquery/jquery.crmEditable.js @@ -29,6 +29,7 @@ ret[fieldName] = $(this).text(); if (this === el) { ret.field = fieldName; + ret.params = $(this).data('params'); } } }); @@ -132,7 +133,7 @@ var info = $i.crmEditableEntity(), $el = $($i), - params = {}, + params = info.params || {}, action = $i.data('action') || info.action; if (!info.field) { return false;