mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°6307 - Fix unappropriate confirm message when updating log on object edition
Proper fix as 345a8371 was temporary
This commit is contained in:
@@ -2949,8 +2949,7 @@ JS
|
||||
}
|
||||
|
||||
// Prepare blocker protection to avoid loosing data
|
||||
$sBlockerId = uniqid($sClass.':'.$iKey.':', true);
|
||||
$sConfirmationMessage = addslashes(Dict::S('UI:NavigateAwayConfirmationMessage'));
|
||||
$sBlockerId = $sClass.':'.$iKey; // Important: This must have the synthax format as in js/layouts/activity-panel/activity-panel.js
|
||||
$sJSToken = json_encode($sOwnershipToken);
|
||||
$oPage->add_ready_script(<<<JS
|
||||
// Try to release concurrent lock when leaving the page
|
||||
|
||||
Reference in New Issue
Block a user