Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
Daniels project
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Daniel Quadras
Daniels project
Commits
784bc4c1
Commit
784bc4c1
authored
Jun 28, 2023
by
Daniel Quadras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update ITMUserAuditTrailBrow.jsp
parent
cb08c1ec
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
ITMUserAuditTrailBrow.jsp
ITMUserAuditTrailBrow.jsp
+4
-1
No files found.
ITMUserAuditTrailBrow.jsp
View file @
784bc4c1
...
...
@@ -154,8 +154,9 @@ function showPreviousPage(){
BaseLogger.log("
3
",userInfo,null, "
datanew
daniel
sessiondata
before
if
nodatacheck
"
+
sessiondata
);
//condition to handle no data in datanew i.e audittrail
if(noDataCheck)
if
(
noDataCheck
&&
sessiondata
.
trim
().
length
()
>
0
)
{
BaseLogger
.
log
(
"3"
,
userInfo
,
null
,
"daniel inside first if condition"
);
String
tagtoremove
=
"nodata"
;
BaseLogger
.
log
(
"3"
,
userInfo
,
null
,
"daniel tagtoremove"
+
tagtoremove
);
dataNew
=
dataNew
.
replaceAll
(
"<"
+
tagtoremove
+
">
.*?</
" + tagtoremove + "
>
", "");
...
...
@@ -197,6 +198,7 @@ function showPreviousPage(){
//condition to check if sessiondata is empty and audtitrail has data
else if(noDataCheck==false && sessiondata.trim().length() == 0 || noDataCheck==false && sessiondata.equalsIgnoreCase(null) || noDataCheck==false && sessiondata.equalsIgnoreCase(""))
{
BaseLogger.log("
3
",userInfo,null, "
daniel
inside
first
else
if
condition
");
dataNew = dataNew.replaceAll("
</
DocumentRoot
>
", "");
dataNew = dataNew.replaceAll("
</
Header0
>
", "");
dataNew = dataNew.replaceAll("
</
group0
>
", "");
...
...
@@ -233,6 +235,7 @@ function showPreviousPage(){
//condition to hanlde both sessiondata and datanew having no data
else if(sessiondata.trim().length() == 0 && noDataCheck)
{
BaseLogger.log("
3
",userInfo,null, "
daniel
inside
second
else
if
condition
");
String tagtoremove = "
nodata
";
BaseLogger.log("
3
",userInfo,null, "
daniel
tagtoremove
elseif
condition
2
nd
else
if
"+tagtoremove);
dataNew = dataNew.replaceAll("
<
" + tagtoremove + "
>
.*?</
" + tagtoremove + "
>
", "");
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment