Sha256: 5e8a9b8c86870a49399df5c80dbdd11486f104b7fee59b22bb00aa8a0a3593a8

Contents?: true

Size: 435 Bytes

Versions: 4

Compression:

Stored size: 435 Bytes

Contents

last_scroll_top = null;

function show_sub_report (event_obj)
{
  if (!(event_obj.shiftKey || event_obj.ctrlKey || event_obj.metaKey || event_obj.altKey))
  {
    link_item = $ (event_obj.target);
    $("#report-display-document").attr("src", link_item.attr ("href"))
    event_obj.preventDefault();
  }
}

$ (document).ready (function ()
    {
      $ (document).on ("click", "a.coruncopia-report-link", {}, show_sub_report);
    }
);

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cornucopia-0.1.18 lib/cornucopia/source_files/report.js
cornucopia-0.1.17 lib/cornucopia/source_files/report.js
cornucopia-0.1.16 lib/cornucopia/source_files/report.js
cornucopia-0.1.15 lib/cornucopia/source_files/report.js