1

Right now it is possible to middle-click (or shift-click) a test case to open it a new window.

Often, however, I want to quickly edit a case, which is possible using the "Edit" option from the case menu. Unfortunately, it is currently impossible to open new windows from the menu, no matter how you click it, it always opens the edit in the current window.

Is there a work-around or a fix for that?

alt text

flag

2 Answers

1

My first instinct was to tell you to use BugMonkey to change the action of the Edit option in that context menu, but it looks like that's going to be a bit complicated.

It will probably be easier to use BugMonkey to iterate through each row and add your own little "edit" button or link to the grid view:

<a href="default.asp?pg=pgEditBug&ixBug=[ixBug]&command=edit" target="_new">Edit</a>

link|flag
Thanks for the tip! I've wrote a script and it is working great :) – vitalyb Dec 26 2010 at 16:50
1

Thanks for the tip Rob, here is the script I came up with. It is my first one and I am not very adept in HTML DOM/Javascript, BUT, it works:

$("a[class='title vb']").each(
  function (){
    match = $(this).attr("href").match(/\?(.+)#/);
    if (match != null) {
     $(this).append(" <a href='default.asp?pg=pgEditBug&ixBug="+match[1]+"&command=edit'>(e)</a>");

}

});

Hopefully someone else finds it useful.

link|flag
Good stuff, @vitalyb! – Rob Sobers Dec 27 2010 at 17:34

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.