Skip to content
Snippets Groups Projects
Commit de72961d authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Merge branch 'dd_msg_reader_edit_user_pReader_copy_paste_fix' into 'master'

DDMsgReader: Copy-paste fix for section(s) of code for editing a local user account while reading

See merge request !378
parents 6b0df81a 88faabb5
Branches
Tags
1 merge request!378DDMsgReader: Copy-paste fix for section(s) of code for editing a local user account while reading
......@@ -5785,13 +5785,13 @@ function DigDistMsgReader_ReadMessageEnhanced_Scrollable(msgHeader, allowChgMsgA
// Refresh things on the screen
console.clear("\x01n");
// Display the message header and key help line again
pReader.DisplayEnhancedMsgHdr(msgHeader, pOffset+1, 1);
pReader.DisplayEnhancedMsgReadHelpLine(console.screen_rows, allowChgMsgArea);
this.DisplayEnhancedMsgHdr(msgHeader, pOffset+1, 1);
this.DisplayEnhancedMsgReadHelpLine(console.screen_rows, allowChgMsgArea);
// 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);
pReader.DisplayEnhancedReaderWholeScrollbar(solidBlockStartRow, numSolidScrollBlocks);
retObj.solidBlockStartRow = this.msgAreaTop + Math.floor(numNonSolidScrollBlocks * fractionToLastPage);
this.DisplayEnhancedReaderWholeScrollbar(solidBlockStartRow, numSolidScrollBlocks);
}
else
{
......@@ -6209,17 +6209,18 @@ function DigDistMsgReader_ReadMessageEnhanced_Scrollable(msgHeader, allowChgMsgA
}
break;
case this.readerOpMenuOptValues.editAuthorUserAccount: // Edit the local user account
console.gotoxy(1, console.screen_rows);
userEdit(msgHeader, pOffset, this);
// Refresh things on the screen
console.clear("\x01n");
// Display the message header and key help line again
pReader.DisplayEnhancedMsgHdr(msgHeader, pOffset+1, 1);
pReader.DisplayEnhancedMsgReadHelpLine(console.screen_rows, allowChgMsgArea);
this.DisplayEnhancedMsgHdr(msgHeader, pOffset+1, 1);
this.DisplayEnhancedMsgReadHelpLine(console.screen_rows, allowChgMsgArea);
// 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);
pReader.DisplayEnhancedReaderWholeScrollbar(solidBlockStartRow, numSolidScrollBlocks);
retObj.solidBlockStartRow = this.msgAreaTop + Math.floor(numNonSolidScrollBlocks * fractionToLastPage);
this.DisplayEnhancedReaderWholeScrollbar(solidBlockStartRow, numSolidScrollBlocks);
}
else
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment