Sha256: f4226b0720df242efbbed5cb1555b07236ba2de21c8d62d98081d0b3008f66a2
Contents?: true
Size: 745 Bytes
Versions: 5
Compression:
Stored size: 745 Bytes
Contents
$(function() { $('.select2').select2(); // Table Row as links $('.table-hover tr[data-url]').on('click', function() { window.location.href = $(this).attr('data-url'); }); window.startAnimateProgress = function(message) { $('.content-body').prepend("<div class='alert-box'></div>"); $('.content-body .alert-box').Loadingdotdotdot({ "word": message }).addClass('info'); }; window.stopAnimateProgress = function() { $('.alert-box').Loadingdotdotdot("Stop"); }; // Modal Cancel buttons $("a.modal-cancel").click(function(e) { e.preventDefault(); $('a.close-reveal-modal').trigger('click'); }); }); String.prototype.repeat = function( num ) { return new Array( num + 1 ).join( this ); }
Version data entries
5 entries across 5 versions & 1 rubygems