Guest User

Untitled

a guest
Oct 22nd, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1.  
  2. function getButtonConstants(btnId, key)
  3. {
  4. var constants = DYNAMIC_BUTTON.buttonConstants[btnId];
  5. if(typeof(constants) != "undefined" && constants != null)
  6. return constants[key];
  7. return null;
  8. }
  9. function onErrorRedirectWidgetUrl(widgetBaseUrl, trackUrl)
  10. {
  11. var redirectUrl = widgetBaseUrl;
  12. if ( trackUrl != null && trackUrl.length > 0 )
  13. redirectUrl = toolbar.UrlReplaceMacros(trackUrl) + encodeURIComponent(redirectUrl);
  14. try
Add Comment
Please, Sign In to add comment