Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Timmy38
Copy link
Contributor

@Timmy38 Timmy38 commented Aug 20, 2025

No description provided.

@Timmy38 Timmy38 added the internal Work made by Combodo label Aug 20, 2025
@bdalsass bdalsass self-requested a review August 21, 2025 07:53
Copy link
Contributor

@bdalsass bdalsass left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would have preferred to add this code in the sources folder and have JS in a JS file alongside the template but it's ok for me.

image


}

public function AddEditor(string $sPrevConfig, string $sNewConfig) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dont understand why there is 2 parameters, the only usage pass the same string (line 105)

Copy link
Contributor

@bdalsass bdalsass left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, better code architecture. still comments.
I think we can also avoid using jquery in js file (we have a mix of jquery vanilla JS)

$oAlert = GetAlertFromException($e);
$oP->AddUiBlock($oAlert);
}
$oLogCenterController = new ConfigEditorController();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wrong var name oLogCenterController (copy past 🧐)

@@ -0,0 +1,172 @@
<?php

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copyright

'sTransactionId' => utils::GetNewTransactionId(),
'sChecksum' => $sConfigChecksum,
'sPrevConfig' => $sCurrentConfig,
'sNewConfig' => $sCurrentConfig,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 identical parameters, really needed ?

document.getElementById('ibo-main-content').addEventListener('click',repositionEditor);

document.getElementById('cancel_button').onclick = ()=>{
$("#operation").attr('value', 'revert');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

prefer vanilla js

@Timmy38 Timmy38 merged commit a6a4599 into develop Aug 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal Work made by Combodo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants