Merge pull request #13295 from andrewpthompson/andrewpthompson-dev-core-602
[civicrm-core.git] / js / jquery / jquery.crmEditable.js
index f6920f744b943d59823b33d0820dfacdbc2ca96e..ca1a08e24845a26c1ec129c0175bba0aed50d7ce 100644 (file)
@@ -29,6 +29,7 @@
         ret[fieldName] = $(this).text();
         if (this === el) {
           ret.field = fieldName;
+          ret.params = $(this).data('params');
         }
       }
     });
         var
           info = $i.crmEditableEntity(),
           $el = $($i),
-          params = {},
+          params = info.params || {},
           action = $i.data('action') || info.action;
         if (!info.field) {
           return false;