Sha256: d34f297a9911eb293f04760e6ad60ff67d922b68b2ffec26875fb7e322ea27d9

Contents?: true

Size: 387 Bytes

Versions: 99

Compression:

Stored size: 387 Bytes

Contents

function closeIFrame(srch) {
  var count = 0;
  $('iframe').each(function(i,val){
    if ($(val).attr('src') == 'track.html' + srch) {
      $(val).remove();
    }
    count += 1;
  });
  if (count == 1) {
    $('#graphcolumn').removeClass('resize');
  }
}

$(document).ready(function() {
  $("a[name=glob_unshow]").click(e => {
    parent.closeIFrame(window.location.search);
  });
});

Version data entries

99 entries across 89 versions & 1 rubygems

Version Path
cpee-2.1.79 cockpit/js/track.js
cpee-2.1.78 cockpit/js/track.js
cpee-2.1.77 cockpit/js/track.js
cpee-2.1.75 cockpit/js/track.js
cpee-2.1.74 cockpit/js/track.js
cpee-2.1.73 cockpit/js/track.js
cpee-2.1.71 cockpit/js/track.js
cpee-2.1.70 cockpit/js/track.js
cpee-2.1.69 cockpit/js/track.js
cpee-2.1.68 cockpit/js/track.js
cpee-2.1.67 cockpit/js/track.js
cpee-2.1.66 cockpit/js/track.js
cpee-2.1.64 cockpit/js/track.js
cpee-2.1.63 cockpit/js/track.js
cpee-2.1.62 cockpit/js/track.js
cpee-2.1.61 cockpit/js/track.js
cpee-2.1.60 cockpit/js/track.js
cpee-2.1.59 cockpit/js/track.js
cpee-2.1.58 cockpit/js/track.js
cpee-2.1.57 cockpit/js/track.js