Änderungen von Dokument Licensed Extensions
Zuletzt geändert von xwikiadmin am 2025/01/07 11:38
Von Version 1.1
bearbeitet von xwikiadmin
am 2022/02/23 10:52
am 2022/02/23 10:52
Änderungskommentar:
Install extension [com.xwiki.licensing:application-licensing-licensor-ui/1.20]
Auf Version 2.1
bearbeitet von superadmin
am 2022/03/06 00:00
am 2022/03/06 00:00
Änderungskommentar:
Install extension [com.xwiki.licensing:application-licensing-licensor-ui/1.22]
Zusammenfassung
-
Seiteneigenschaften (1 geändert, 0 hinzugefügt, 0 gelöscht)
-
Objekte (1 geändert, 0 hinzugefügt, 0 gelöscht)
Details
- Seiteneigenschaften
-
- Dokument-Autor
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. xwikiadmin1 +XWiki.superadmin
- XWiki.JavaScriptExtension[0]
-
- Code
-
... ... @@ -49,9 +49,9 @@ 49 49 data 50 50 ); 51 51 }, 52 - modifyAutoUpgrades Blocklist: function(data) {52 + modifyAutoUpgradesAllowList: function(data) { 53 53 return $.post( 54 - new XWiki.Document('UpdateAutomaticUpgrades Blocklist', 'Licenses.Code').getURL('get', 'outputSyntax=plain'),54 + new XWiki.Document('UpdateAutomaticUpgradesAllowList', 'Licenses.Code').getURL('get', 'outputSyntax=plain'), 55 55 data 56 56 ); 57 57 } ... ... @@ -137,7 +137,7 @@ 137 137 }); 138 138 }; 139 139 140 - // An extensionId could have multiple rows in the livetable if is installed on multiple subwikis, but the blocklist140 + // An extensionId could have multiple rows in the livetable if is installed on multiple subwikis, but the allowlist 141 141 // is applied to all namespaces. 142 142 var updateExtensionOfOtherWikis = function(extensionId, isChecked) { 143 143 var similarExtensions = $("input[name='extensionId'][value='" + extensionId + "']"); ... ... @@ -258,9 +258,9 @@ 258 258 }); 259 259 }); 260 260 261 - $('input[name=autoUpgrade]' ).click(function() {261 + $(document).on('click', 'input[name=autoUpgrade]', function() { 262 262 var autoUpgradeForm = $(this).parent('form').serializeArray(); 263 - licensor.modifyAutoUpgrades Blocklist(autoUpgradeForm).success(function(data) {263 + licensor.modifyAutoUpgradesAllowList(autoUpgradeForm).success(function(data) { 264 264 if(data.isAutoUpgrade) { 265 265 new XWiki.widgets.Notification( 266 266 $jsontool.serialize($services.localization.render('licensor.moreActions.autoUpgrade.added')), 'done'); ... ... @@ -268,7 +268,7 @@ 268 268 new XWiki.widgets.Notification( 269 269 $jsontool.serialize($services.localization.render('licensor.moreActions.autoUpgrade.removed')), 'done'); 270 270 } 271 - updateExtensionOfOtherWikis(data.extensionId, !data.isAutoUpgrade);271 + updateExtensionOfOtherWikis(data.extensionId, data.isAutoUpgrade); 272 272 }); 273 273 }); 274 274