Sha256: b3f8b1854c286d32bef45b31789befc11b4df73a7ec723ea3339487836883079
Contents?: true
Size: 681 Bytes
Versions: 36
Compression:
Stored size: 681 Bytes
Contents
var AdminData = AdminData || {}; AdminData.ajaxifyAdvanceSearch = { successCallback: function(responseText) { $('#results').html(responseText); }, beforeSubmitCallback: function(formArray, jqForm) { $('#results').html('<span class="searching_message">searching...</span>'); $('#advance_search_form').data('admin_data_form_array', formArray); } }; $(function() { var options = { success: function(responseText) { AdminData.ajaxifyAdvanceSearch.successCallback(responseText); }, beforeSubmit: function(formArray, jqForm) { AdminData.ajaxifyAdvanceSearch.beforeSubmitCallback(formArray, jqForm); } }; $('#advance_search_form').ajaxForm(options); });
Version data entries
36 entries across 36 versions & 2 rubygems