Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

error "restart selected job" when agent is pinned #3366

Open
wants to merge 1 commit into
base: glpi9.5
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion js/taskjobs.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,10 @@ function pin_agent(args) {
//chart.pinned_agents = {};
chart.pinned_agents[agent_id] = chart.agents.toObject()[agent_id];
chart.pinned_agents[agent_id].logs = {};
taskjobs.refresh_pinned_agents(chart_id);
//taskjobs.refresh_pinned_agents(chart_id);
//agents_dispatch.view(chart_id);
// taskjobs.update_agents_view(chart_id);
taskjobs.queue_refresh_logs( taskjobs.ajax_url, taskjobs.task_id );
}

function add_runlogs(extra) {
Expand Down