Sha256: 83d14b3ad08af41de380c20c8a737a640591a268cc50515cbc00828a7cfe0fa3
Contents?: true
Size: 598 Bytes
Versions: 8
Compression:
Stored size: 598 Bytes
Contents
$(document).ready(function() { $(document).on('formily_update_table', function (e, data) { var table_id = data.resource_id + '_' + data.user_id; var table = $('table[data-formily-form-table=' + table_id + ']'); $.ajax({ url: '/formily/forms/reload_formily_table', type: 'POST', data: data, success: function(response){ table.replaceWith(response); }, error: function(response){ console.error(response); }, complete: function(){ $('.tooltip').hide(); $(document).foundation(); } }); }); });
Version data entries
8 entries across 8 versions & 1 rubygems