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

Joho 1582 shorten report name #439

Merged
merged 4 commits into from
Jun 3, 2021
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ export default class DevToolsPanelApp extends React.Component<IPanelProps, IPane

var tabTitle: string = this.state.tabTitle;
var tabTitleSubString = tabTitle ? tabTitle.substring(0, 50) : "";
var filename = "IBM_Equal_Access_Accessibility_Checker_Report_for_Page---" + tabTitleSubString + ".html";
var filename = "Accessibility_Report-" + tabTitleSubString + ".html";
//replace illegal characters in file name
filename = filename.replace(/[/\\?%*:|"<>]/g, '-');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default class ReportUtil {
public static single_page_report_file_name(tab_title: string) {

var tab_title_substring = tab_title ? tab_title.substring(0, 50) : "";
var file_name = "IBM_Equal_Access_Accessibility_Checker_Report_for_Page---" + tab_title_substring + ".xlsx";
var file_name = "Accessibility_Report-" + tab_title_substring + ".xlsx";

//replace illegal characters in file name
file_name = file_name.replace(/[/\\?%*:|"<>]/g, '-');
Expand Down