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
| <html> | |
| <head> | |
| <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.4.min.js"></script> | |
| </head> | |
| <body> | |
| <div id="iframe-container"></div> | |
| <!-- Assuming we have jQuery - easy to do without though --> | |
| <script type="text/javascript"> | |
| var iframe, |
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
| <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.4.min.js"></script> | |
| <div id="iframe-container"></div> | |
| <!-- Assuming we have jQuery - easy to do without though --> | |
| <script type="text/javascript"> | |
| $(document).ready(function() { | |
| var container = $('#iframe-container'); |
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
| import base64 | |
| import hashlib | |
| import hmac | |
| from urllib import urlencode | |
| HOSTNAME = 'http://publishing-api.singleplatform.com' | |
| SIGNING_KEY='YOUR_SIGNING_KEY' | |
| CLIENT_ID='YOUR_CLIENT_ID' |
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
| Commands.requestUpdate(formData, function submitRequestSuccess(data) { | |
| gaTrack('Success', 'Successful Update Submittal'); | |
| if ($scope.useAsForm) { | |
| if ($scope.submitClaimedUrl) { | |
| submitClaimed(); | |
| } | |
| $window.location.assign($scope.formSuccessUrl); | |
| } else if (!$scope.formSuccessUrl) { /* ADDED LINE */ | |
| $scope.modalBody = 'Your update request is being processed and you should see your changes on publishers within 24-48 hours.'; | |
| $scope.showOkButton = true; |