This commit is contained in:
Luke Pulverenti 2013-07-15 21:36:36 -04:00
commit c977f4a919
3 changed files with 18 additions and 3 deletions

View file

@ -20,10 +20,17 @@
} else {
$('.supporterOnly', page).hide();
}
if ((info.LegacyKey || info.SupporterKey) && !info.IsMBSupporter) {
$('#txtSupporterKey', page).addClass("invalidEntry");
$('.notSupporter', page).show();
} else {
$('#txtSupporterKey', page).removeClass("invalidEntry");
$('.notSupporter', page).hide();
}
Dashboard.hideLoadingMsg();
});
},
updateSupporterKey: function () {
Dashboard.showLoadingMsg();
@ -40,8 +47,7 @@
ApiClient.updatePluginSecurityInfo(info).done(function () {
Dashboard.resetPluginSecurityInfo();
Dashboard.hideLoadingMsg();
SupporterPage.load();
SupporterKeyPage.load();
});
return false;