Sha256: 5ffe1cfa267a064b02917218700e042f1140dcbd0d2d3bf66e1d334325e0b844
Contents?: true
Size: 916 Bytes
Versions: 27
Compression:
Stored size: 916 Bytes
Contents
//(function($) { // $.fn.AddOnChange = function(settings) { // function add_onchange(all_obj) { // $(all_obj).each(function () { // $(this).change(function () { // form_submit_watcher(); // }); // }); // } // // var submit_timestamp = {}; function form_submit_watcher(watched_form_id) { // console.log(watched_form_id); // console.log(submit_timestamp) //ladas_loading_show(); //console.log("uaaa") FilterChangeMarker.mark_active_filters(watched_form_id); clearTimeout(submit_timestamp[watched_form_id]); submit_timestamp[watched_form_id] = setTimeout(function() { form_submit(watched_form_id) }, 1000); } function form_submit(watched_form_id) { // console.log("submiting") // console.log(watched_form_id); $("#"+watched_form_id).submit(); } // //})(jQuery);
Version data entries
27 entries across 27 versions & 1 rubygems