mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 15:22:17 +02:00
N°4327 - Fix JS "ReferenceError" in Application Upgrade
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
{# @copyright Copyright (C) 2010-2021 Combodo SARL #}
|
{# @copyright Copyright (C) 2010-2021 Combodo SARL #}
|
||||||
{# @license http://opensource.org/licenses/AGPL-3.0 #}
|
{# @license http://opensource.org/licenses/AGPL-3.0 #}
|
||||||
|
|
||||||
$("#do-update").on("click", function() {
|
$("#do-update").on("click", function(oEvent) {
|
||||||
$(this).prop("disabled", true);
|
$(this).prop("disabled", true);
|
||||||
$("#cancel-update").prop("disabled", true);
|
$("#cancel-update").prop("disabled", true);
|
||||||
$(this).parents('form').submit();
|
$(this).parents('form').submit();
|
||||||
e.preventDefault();
|
oEvent.preventDefault();
|
||||||
e.stopPropagation();
|
oEvent.stopPropagation();
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user