remove subscription check
This commit is contained in:
parent
50872e450b
commit
05df17e362
@ -0,0 +1,30 @@
|
||||
diff --git a/src/Utils.js b/src/Utils.js
|
||||
index 1ee4039..106e774 100644
|
||||
--- a/src/Utils.js
|
||||
+++ b/src/Utils.js
|
||||
@@ -559,24 +559,7 @@ utilities: {
|
||||
Ext.Msg.alert(gettext('Error'), response.htmlStatus);
|
||||
},
|
||||
success: function(response, opts) {
|
||||
- let res = response.result;
|
||||
- if (res === null || res === undefined || !res || res
|
||||
- .data.status.toLowerCase() !== 'active') {
|
||||
- Ext.Msg.show({
|
||||
- title: gettext('No valid subscription'),
|
||||
- icon: Ext.Msg.WARNING,
|
||||
- message: Proxmox.Utils.getNoSubKeyHtml(res.data.url),
|
||||
- buttons: Ext.Msg.OK,
|
||||
- callback: function(btn) {
|
||||
- if (btn !== 'ok') {
|
||||
- return;
|
||||
- }
|
||||
- orig_cmd();
|
||||
- },
|
||||
- });
|
||||
- } else {
|
||||
- orig_cmd();
|
||||
- }
|
||||
+ console.log("lierfang subscription check");
|
||||
},
|
||||
},
|
||||
);
|
||||
1
packages/proxmox-widget-toolkit/series
Normal file
1
packages/proxmox-widget-toolkit/series
Normal file
@ -0,0 +1 @@
|
||||
patches/001-remove-subscription.patch
|
||||
Loading…
Reference in New Issue
Block a user