Created
December 14, 2017 06:37
-
-
Save delfer/b5eb35384613cacb29344685d6f48d14 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- /usr/share/pve-manager/js/pvemanagerlib.js 2017-11-30 13:35:28.000000000 +0300 | |
| +++ pvemanagerlib.js 2017-12-14 09:27:22.761055436 +0300 | |
| @@ -847,22 +847,7 @@ | |
| success: function(response, opts) { | |
| var data = response.result.data; | |
| - if (data.status !== 'Active') { | |
| - Ext.Msg.show({ | |
| - title: gettext('No valid subscription'), | |
| - icon: Ext.Msg.WARNING, | |
| - msg: PVE.Utils.noSubKeyHtml, | |
| - buttons: Ext.Msg.OK, | |
| - callback: function(btn) { | |
| - if (btn !== 'ok') { | |
| - return; | |
| - } | |
| - orig_cmd(); | |
| - } | |
| - }); | |
| - } else { | |
| orig_cmd(); | |
| - } | |
| } | |
| }); | |
| }, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment