Hi Friends,
This is in continuation with my question 695430#M227429, I am able to create a dialog2 modal box from the more section link with the steps mentioned in the prev question, but it is not working in the issue search view.
My javascript will look like :
(function ($) {
$(document).ready(function () {
// step 1. put dialog HTML at the end of <body> element
$('body').append(...);
// step 2. set click handler to your web-item, using AJS.dialog2
actionButtons();
// step 3. remove the href of link item from More dropdown
$('#custom-link').removeAttr('href');
});
});
With my javascript, I am not able to remove the href of $('#custom-link') and it always gets redirected to home page. But the same works for Issues page. Any hint why this behavior?
Thanks in advance!
Regards,
Arun