Project

General

Profile

« Previous | Next » 

Revision c6e02bd3

Added by Joseph Magen over 10 years ago

fixes #3178 - add feature for compute profiles for hostgroups and hosts

View differences:

app/assets/javascripts/two-pane.js
$(document).on('click', ".table-two-pane td", function(e) {
var item = $(this).find("a[href$='edit']");
if(item.length){
$(document).on('click', ".table-two-pane td a[href$='edit']", function(e) {
if ($('.table-two-pane').length) {
e.preventDefault();
two_pane_open(item);
two_pane_open(this);
}
});
......
}
});
$(document).on('click', "a[href$='new'].new_two_pane", function(e) {
if ($('.table-two-pane').length) {
e.preventDefault();
two_pane_open(this);
}
});
$(document).on('submit','.two-pane-right', function() {
two_pane_submit();
return false;

Also available in: Unified diff