Skip to content

Instantly share code, notes, and snippets.

@vgrem
Last active December 15, 2015 09:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vgrem/5241097 to your computer and use it in GitHub Desktop.
Save vgrem/5241097 to your computer and use it in GitHub Desktop.
Override EntityEditorCallback method for People Editor
//Override EntityEditorCallback method
var EntityEditorCallback = (function () {
var EntityEditorCallbackOrig = EntityEditorCallback;
return function() {
var result = arguments[0];
var ctx = arguments[1];
if(typeof PreCallbackClientScript != 'undefined')
PreCallbackClientScript(result, ctx);
EntityEditorCallbackOrig(result, ctx);
};
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment