Guest User

Untitled

a guest
Jan 17th, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. window.invokeOnClickJS_00bR0000000EbrP = function(element) {
  2. function getRecordIds(keyPrefix) { return
  3. Scontrol.prototype.getSelectedRecordIdsFromForm(element.form, keyPrefix); }
  4.  
  5. element.invokeAction = function() {
  6. var scriptLibrary = [];
  7. Util.loadScripts(scriptLibrary, 0, function() {
  8. try {
  9. Sfdc.logServer('JAVASCRIPT_BUTTON', {id: '00bR0000000EbrP', name: 'lmscons__Public_Link'}, Sfdc.Logging.LogLevel.INFO);
  10. Util.stripCustomFunctionFromObjectPrototype(Array);eval('openPublicLink();') } catch (e) { alert('A problem with the OnClick JavaScript for this button or link was encountered:nn' + (e.message ? e.message : e)) }
  11. finally { Util.restoreCustomFunctionsToObjectPrototype(Array);}
Add Comment
Please, Sign In to add comment