diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-03-23 00:04:36 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-03-23 00:04:36 -0400 |
| commit | b20151fff373100da7946df93afb7dd4dccea3e4 (patch) | |
| tree | a16d7085c0eab807c309c94461ed60821029f1ff /MediaBrowser.WebDashboard/Html/scripts/SupporterPage.js | |
| parent | 4bc27f3a65ddbffcc7b74683df72503f20df275c (diff) | |
copy dashboard to the output folder and load from the file system, instead of using embedded resources
Diffstat (limited to 'MediaBrowser.WebDashboard/Html/scripts/SupporterPage.js')
| -rw-r--r-- | MediaBrowser.WebDashboard/Html/scripts/SupporterPage.js | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/MediaBrowser.WebDashboard/Html/scripts/SupporterPage.js b/MediaBrowser.WebDashboard/Html/scripts/SupporterPage.js deleted file mode 100644 index 2a599f259..000000000 --- a/MediaBrowser.WebDashboard/Html/scripts/SupporterPage.js +++ /dev/null @@ -1,29 +0,0 @@ -var SupporterPage = { - - onPageShow: function () { - SupporterPage.load(); - }, - - onPageHide: function () { - - }, - - load: function() { - Dashboard.showLoadingMsg(); - var page = $.mobile.activePage; - - ApiClient.getPluginSecurityInfo().done(function (info) { - $('#txtSupporterKey', page).val(info.SupporterKey); - if (info.IsMBSupporter) { - $('.supporterOnly', page).show(); - } else { - $('.supporterOnly', page).hide(); - } - $('#paypalReturnUrl', page).val(ApiClient.getCustomUrl("dashboard/supporterKey.html")); - Dashboard.hideLoadingMsg(); - }); - } -}; - -$(document).on('pageshow', "#supporterPage", SupporterPage.onPageShow) - .on('pagehide', "#supporterPage", SupporterPage.onPageHide); |
