Sha256: 080589242015b4a235eca12dee26d8cfe95933e3fb27cc2ed065caf8bab133e3

Contents?: true

Size: 401 Bytes

Versions: 1

Compression:

Stored size: 401 Bytes

Contents

function unattach(procname){
    
  jQuery.ajax({
    url: "/unattach_process",
    type: "POST",
    data: { procname: procname }
  }).done(function(content) {
    jQuery("#monitored_procs").replaceWith(content);
  })

}

function kill9(pid){
  jQuery.ajax({
    url: "/kill9",
    type: "POST",
    data: { pid: pid }
  }).done(function(content) {
    jQuery("#index").replaceWith(content);
  })

}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
admin-helper-0.0.1 lib/view/public/js/admin.js