Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
88faabb5
Commit
88faabb5
authored
1 year ago
by
Eric Oulashin
Browse files
Options
Downloads
Patches
Plain Diff
DDMsgReader: Copy-paste fix for section(s) of code for editing a local user account while reading
parent
6b0df81a
No related branches found
No related tags found
1 merge request
!378
DDMsgReader: Copy-paste fix for section(s) of code for editing a local user account while reading
Pipeline
#5064
passed
1 year ago
Stage: build
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
xtrn/DDMsgReader/DDMsgReader.js
+11
-10
11 additions, 10 deletions
xtrn/DDMsgReader/DDMsgReader.js
with
11 additions
and
10 deletions
xtrn/DDMsgReader/DDMsgReader.js
+
11
−
10
View file @
88faabb5
...
@@ -5785,13 +5785,13 @@ function DigDistMsgReader_ReadMessageEnhanced_Scrollable(msgHeader, allowChgMsgA
...
@@ -5785,13 +5785,13 @@ function DigDistMsgReader_ReadMessageEnhanced_Scrollable(msgHeader, allowChgMsgA
// Refresh things on the screen
// Refresh things on the screen
console.clear("\x01n");
console.clear("\x01n");
// Display the message header and key help line again
// Display the message header and key help line again
pReader
.DisplayEnhancedMsgHdr(msgHeader, pOffset+1, 1);
this
.DisplayEnhancedMsgHdr(msgHeader, pOffset+1, 1);
pReader
.DisplayEnhancedMsgReadHelpLine(console.screen_rows, allowChgMsgArea);
this
.DisplayEnhancedMsgReadHelpLine(console.screen_rows, allowChgMsgArea);
// Display the scrollbar again to refresh it on the screen
// Display the scrollbar again to refresh it on the screen
if (
pReader
.userSettings.useEnhReaderScrollbar)
if (
this
.userSettings.useEnhReaderScrollbar)
{
{
retObj.solidBlockStartRow =
pReader
.msgAreaTop + Math.floor(numNonSolidScrollBlocks * fractionToLastPage);
retObj.solidBlockStartRow =
this
.msgAreaTop + Math.floor(numNonSolidScrollBlocks * fractionToLastPage);
pReader
.DisplayEnhancedReaderWholeScrollbar(solidBlockStartRow, numSolidScrollBlocks);
this
.DisplayEnhancedReaderWholeScrollbar(solidBlockStartRow, numSolidScrollBlocks);
}
}
else
else
{
{
...
@@ -6209,17 +6209,18 @@ function DigDistMsgReader_ReadMessageEnhanced_Scrollable(msgHeader, allowChgMsgA
...
@@ -6209,17 +6209,18 @@ function DigDistMsgReader_ReadMessageEnhanced_Scrollable(msgHeader, allowChgMsgA
}
}
break;
break;
case this.readerOpMenuOptValues.editAuthorUserAccount: // Edit the local user account
case this.readerOpMenuOptValues.editAuthorUserAccount: // Edit the local user account
console.gotoxy(1, console.screen_rows);
userEdit(msgHeader, pOffset, this);
userEdit(msgHeader, pOffset, this);
// Refresh things on the screen
// Refresh things on the screen
console.clear("\x01n");
console.clear("\x01n");
// Display the message header and key help line again
// Display the message header and key help line again
pReader
.DisplayEnhancedMsgHdr(msgHeader, pOffset+1, 1);
this
.DisplayEnhancedMsgHdr(msgHeader, pOffset+1, 1);
pReader
.DisplayEnhancedMsgReadHelpLine(console.screen_rows, allowChgMsgArea);
this
.DisplayEnhancedMsgReadHelpLine(console.screen_rows, allowChgMsgArea);
// Display the scrollbar again to refresh it on the screen
// Display the scrollbar again to refresh it on the screen
if (
pReader
.userSettings.useEnhReaderScrollbar)
if (
this
.userSettings.useEnhReaderScrollbar)
{
{
retObj.solidBlockStartRow =
pReader
.msgAreaTop + Math.floor(numNonSolidScrollBlocks * fractionToLastPage);
retObj.solidBlockStartRow =
this
.msgAreaTop + Math.floor(numNonSolidScrollBlocks * fractionToLastPage);
pReader
.DisplayEnhancedReaderWholeScrollbar(solidBlockStartRow, numSolidScrollBlocks);
this
.DisplayEnhancedReaderWholeScrollbar(solidBlockStartRow, numSolidScrollBlocks);
}
}
else
else
{
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment