Merge pull request #16618 from Hystepik/develop#3

Fix  #16617 : fix event add when removing boxes
This commit is contained in:
Laurent Destailleur 2021-03-11 15:57:35 +01:00 committed by GitHub
commit 0b8f738c9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1150,7 +1150,7 @@ class FormOther
if (boxorder==\'A:A-B:B\' && closing == 1) // There is no more boxes on screen, and we are after a delete of a box so we must hide title
{
jQuery.ajax({
url: \''.DOL_URL_ROOT.'/core/ajax/box.php?closing=0&boxorder=\'+boxorder+\'&zone='.$areacode.'&userid=\'+'.$user->id.',
url: \''.DOL_URL_ROOT.'/core/ajax/box.php?closing=1&boxorder=\'+boxorder+\'&zone='.$areacode.'&userid=\'+'.$user->id.',
async: false
});
// We force reload to be sure to get all boxes into list