Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- window.invokeOnClickJS_00bR0000000EbrP = function(element) {
- function getRecordIds(keyPrefix) { return
- Scontrol.prototype.getSelectedRecordIdsFromForm(element.form, keyPrefix); }
- element.invokeAction = function() {
- var scriptLibrary = [];
- Util.loadScripts(scriptLibrary, 0, function() {
- try {
- Sfdc.logServer('JAVASCRIPT_BUTTON', {id: '00bR0000000EbrP', name: 'lmscons__Public_Link'}, Sfdc.Logging.LogLevel.INFO);
- 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)) }
- finally { Util.restoreCustomFunctionsToObjectPrototype(Array);}
Add Comment
Please, Sign In to add comment