mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-18 23:08:46 +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 #}
|
||||
{# @license http://opensource.org/licenses/AGPL-3.0 #}
|
||||
|
||||
$("#do-update").on("click", function() {
|
||||
$("#do-update").on("click", function(oEvent) {
|
||||
$(this).prop("disabled", true);
|
||||
$("#cancel-update").prop("disabled", true);
|
||||
$(this).parents('form').submit();
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
oEvent.preventDefault();
|
||||
oEvent.stopPropagation();
|
||||
return false;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user