Skip to content
Permalink
Browse files

22 files | newpartner.js, main.css, friends.css, main.js, broadcast_c…

…hat.js, chat.js, chathelpers.js, friends.js, shared_english.js, profile.js, steammessages.js, shared_global.js, main.css, main.css, divingbell.css, search.css, main.js, main.js, dynamicstore.js, home.js, divingbell.js, searchpage.js
  • Loading branch information...
SteamTracker committed Nov 6, 2019
1 parent 0a3f0f2 commit 0947d1270f23b2c8aa495807022381ba38ed1964
Showing with 20,575 additions and 17,845 deletions.
  1. +52 βˆ’0 partner.steamgames.com/public/javascript/newpartner.js
  2. +195 βˆ’16 steamcommunity.com/public/css/applications/community/main.css
  3. +484 βˆ’132 steamcommunity.com/public/css/webui/friends.css
  4. +9,203 βˆ’8,403 steamcommunity.com/public/javascript/applications/community/main.js
  5. +1 βˆ’1 steamcommunity.com/public/javascript/broadcast_chat.js
  6. +1 βˆ’1 steamcommunity.com/public/javascript/chat.js
  7. +50 βˆ’117 steamcommunity.com/public/javascript/webui/chathelpers.js
  8. +3,418 βˆ’2,622 steamcommunity.com/public/javascript/webui/friends.js
  9. +4 βˆ’0 steamcommunity.com/public/javascript/webui/localization/shared_english.js
  10. +66 βˆ’133 steamcommunity.com/public/javascript/webui/profile.js
  11. +435 βˆ’208 steamcommunity.com/public/javascript/webui/steammessages.js
  12. +2 βˆ’6 steamcommunity.com/public/shared/javascript/shared_global.js
  13. +1 βˆ’1 store.steampowered.com/public/css/applications/interactive_recommender/main.css
  14. +98 βˆ’14 store.steampowered.com/public/css/applications/store/main.css
  15. +3 βˆ’1 store.steampowered.com/public/css/labs/divingbell.css
  16. +29 βˆ’0 store.steampowered.com/public/css/v6/search.css
  17. +0 βˆ’6 store.steampowered.com/public/javascript/applications/interactive_recommender/main.js
  18. +6,357 βˆ’6,141 store.steampowered.com/public/javascript/applications/store/main.js
  19. +3 βˆ’1 store.steampowered.com/public/javascript/dynamicstore.js
  20. +8 βˆ’3 store.steampowered.com/public/javascript/home.js
  21. +3 βˆ’5 store.steampowered.com/public/javascript/labs/divingbell.js
  22. +162 βˆ’34 store.steampowered.com/public/javascript/searchpage.js
@@ -924,6 +924,58 @@ function SignLatestCafeDistributionAddendum( returnURL )
);
}

function SignLatestCloudGamingAddendum( returnURL )
{
var bHasRequiredFields = true;
// signee info
bHasRequiredFields &= IsValidRequiredField( "[name='signee_info[full_name]']", gValidFieldAlphaNumericRegex );
bHasRequiredFields &= IsValidRequiredField( "[name='signee_info[title]']", gValidFieldAlphaNumericRegex );
bHasRequiredFields &= IsValidRequiredField( "[name='signee_info[phone]']", gValidFieldAlphaNumericRegex );

if ( !bHasRequiredFields )
{
ShowAlertDialog( 'Error', 'Please fill in the highlighted fields and make sure they only contain valid characters: alpha, numeric, blank, ampersand (&), hyphen(-), comma (,), apostrophe(’), forward slash (/), pound sign (#), and period (.) Do not use special characters that are unique to a language other than English.' );
return false;
}

var agreedToSDA1 = $J("#agree_to_sda_checkbox1");
if ( !agreedToSDA1.prop("checked") ) {
ShowAlertDialog('Warning', 'You must agree to the terms in the Steam Cloud Gaming Addendum before continuing.');

This comment has been minimized.

Copy link
@y0edan

y0edan Nov 6, 2019

O_O!

This comment has been minimized.

Copy link
@makemake221
return;
}

var inviteID = $J("#inviteID");

var waitingDialog = ShowBlockingWaitDialog( 'Saving', 'Saving your information...' );
$J.ajax(
{
type: "POST",
url: 'https://partner.steamgames.com/newpartner/ajaxsignlatestsda/?agreement_type=' + 13,
data: $J('#SteamworksAccessForm').serialize(),
success: function ( response ) {
waitingDialog.Dismiss();
if ( response.success == 1 )
{
var dialog = ShowAlertDialog( 'Thanks!', 'Thank you for signing the latest Steam Cloud Gaming Addendum. Click OK to continue.' );
dialog.done( function() {
top.location.href = returnURL;
} );
}
else
{
if( response.success == 15)
ShowAlertDialog( 'Error', 'You must have Actual Authority on your partner account to sign this agreement.');
else
ShowAlertDialog( 'Error', 'An error was encountered while processing your request: ' + response.success );
}
},
failure: function( response ) {
waitingDialog.Dismiss();
}
}
);
}

function EnterBankDetails()
{
var dialog = ShowDialog( 'Enter Bank Details', $J( "#BankAccountRedirectModal" ) );

0 comments on commit 0947d12

Please sign in to comment.
You can’t perform that action at this time.