Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Useful way to go about binding things under Jira plugins
- (function(){
- JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function (e) {
- bindMethod();
- });
- function bindMethod(context) {
- AJS.$("#somebutton").click(function() {
- console.log("button says hello");
- });
- }
- })(jQuery)
Add Comment
Please, Sign In to add comment