Sha256: c0fe13357925b15da028f899cc9c3420f2c2ae6bf2a25996ee2f26d18d5488c8
Contents?: true
Size: 526 Bytes
Versions: 26
Compression:
Stored size: 526 Bytes
Contents
/* search_results */ (function($) { $.fn.hjq_before_unload = function(annotations) { var that = this; that.find(":input").bind('change', function() { window.onbeforeunload = function() { return that.find(typeof(annotations.message == 'string') ? annotations.message : "You have unsaved changes. If you exit this page, your changes will not be saved."); } }); that.submit(function() { window.onbeforeunload = null; }); return that; } }( jQuery ));
Version data entries
26 entries across 26 versions & 1 rubygems