Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#2 CustomerTicketProcess.pm is adjusted for issue#843 in otobo repo #3

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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 16 additions & 9 deletions Kernel/Modules/CustomerTicketProcess.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1800,6 +1800,13 @@ sub _OutputActivityDialog {

if ( $Self->{IsAjaxRequest} ) {

# Initialize input fields like checkbox correctly
$LayoutObject->AddJSOnDocumentComplete(
Code => '
$("label").removeAttr("for");
Core.UI.InputFields.Init();
'
);
# Due to the initial loading of
# the first ActivityDialog after Process selection
# we have to bind the AjaxUpdate Function on
Expand Down Expand Up @@ -2023,7 +2030,7 @@ sub _RenderDynamicField {

return {
Success => 1,
HTML => $LayoutObject->Output( TemplateFile => 'ProcessManagement/DynamicField' ),
HTML => $LayoutObject->Output( TemplateFile => 'ProcessManagement/CustomerDynamicField' ),
};
}

Expand Down Expand Up @@ -2103,7 +2110,7 @@ sub _RenderTitle {

return {
Success => 1,
HTML => $LayoutObject->Output( TemplateFile => 'ProcessManagement/Title' ),
HTML => $LayoutObject->Output( TemplateFile => 'ProcessManagement/CustomerTitle' ),
};

}
Expand Down Expand Up @@ -2259,7 +2266,7 @@ sub _RenderArticle {

return {
Success => 1,
HTML => $LayoutObject->Output( TemplateFile => 'ProcessManagement/Article' ),
HTML => $LayoutObject->Output( TemplateFile => 'ProcessManagement/CustomerArticle' ),
};
}

Expand Down Expand Up @@ -2527,7 +2534,7 @@ sub _RenderSLA {

return {
Success => 1,
HTML => $LayoutObject->Output( TemplateFile => 'ProcessManagement/SLA' ),
HTML => $LayoutObject->Output( TemplateFile => 'ProcessManagement/CustomerSLA' ),
};
}

Expand Down Expand Up @@ -2685,7 +2692,7 @@ sub _RenderService {

return {
Success => 1,
HTML => $LayoutObject->Output( TemplateFile => 'ProcessManagement/Service' ),
HTML => $LayoutObject->Output( TemplateFile => 'ProcessManagement/CustomerService' ),
};

}
Expand Down Expand Up @@ -2822,7 +2829,7 @@ sub _RenderPriority {

return {
Success => 1,
HTML => $LayoutObject->Output( TemplateFile => 'ProcessManagement/Priority' ),
HTML => $LayoutObject->Output( TemplateFile => 'ProcessManagement/CustomerPriority' ),
};
}

Expand Down Expand Up @@ -2967,7 +2974,7 @@ sub _RenderQueue {

return {
Success => 1,
HTML => $LayoutObject->Output( TemplateFile => 'ProcessManagement/Queue' ),
HTML => $LayoutObject->Output( TemplateFile => 'ProcessManagement/CustomerQueue' ),
};
}

Expand Down Expand Up @@ -3098,7 +3105,7 @@ sub _RenderState {

return {
Success => 1,
HTML => $LayoutObject->Output( TemplateFile => 'ProcessManagement/State' ),
HTML => $LayoutObject->Output( TemplateFile => 'ProcessManagement/CustomerState' ),
};
}

Expand Down Expand Up @@ -3249,7 +3256,7 @@ sub _RenderType {

return {
Success => 1,
HTML => $LayoutObject->Output( TemplateFile => 'ProcessManagement/Type' ),
HTML => $LayoutObject->Output( TemplateFile => 'ProcessManagement/CustomerType' ),
};
}

Expand Down