Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onUpdateIssueLinkClick() {
- AJS.$("a.update_project_from_blue_ant").attr("href", "#");
- AJS.$("a.update_project_from_blue_ant").off();
- AJS.$(".update_project_from_blue_ant" ).on("click", function(e) {
- e.preventDefault();
- onUpdateLinkClick(true);
- return false;
- });
- AJS.$("#update_issue_from_blue_ant").off("click");
- AJS.$("#update_issue_from_blue_ant").on("click", function(e) {
- e.preventDefault();
- onUpdateLinkClick(false);
- });
- AJS.$("#update_todo_from_blue_ant").off("click");
- AJS.$("#update_todo_from_blue_ant").on("click", function(e) {
- e.preventDefault();
- onUpdateTodoLinkClick();
- });
- AJS.$("a.update_todos_from_blue_ant").attr("href", "#");
- AJS.$("a.update_todos_from_blue_ant").off();
- AJS.$(".update_todos_from_blue_ant" ).on("click", function(e) {
- e.preventDefault();
- onUpdateTodoLinkClick();
- return false;
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement