Sha256: 93285d498a92ffef64f961589d956c7a466c93cef423ee007be6e45c13124b8e

Contents?: true

Size: 636 Bytes

Versions: 7

Compression:

Stored size: 636 Bytes

Contents

 $(function() {
  function mapDataAttributes(element) {
    html = "";
    $.each(element.data(), function( key, value ) {
      html += "<tr><th>Argument #" + key + "</th><td>" + value + "</td></tr>";
    });
    return html;
  }

  $('#expected tbody td:last-child > a').live('click', function(e){
    $('#job-details .modal-body table tbody').html(mapDataAttributes($(this)));
    $('#job-details .modal-title').text($(this).attr('title'));
    $('#job-details').modal('show');

    e.preventDefault();
  });

  $('#filter-jobs select, #clear-jobs select').live('change', function(e){
    $(this).parent('form').submit();
  });
 });

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sidekiq-expected_failures-0.3.0 web/assets/expected.js
sidekiq-expected_failures-0.2.5 web/assets/expected.js
sidekiq-expected_failures-0.2.4 web/assets/expected.js
sidekiq-expected_failures-0.2.3 web/assets/expected.js
sidekiq-expected_failures-0.2.2 web/assets/expected.js
sidekiq-expected_failures-0.2.1 web/assets/expected.js
sidekiq-expected_failures-0.2.0 web/assets/expected.js