Index: lams_central/web/includes/javascript/openUrls.js =================================================================== diff -u -racc8d2acf5b6b0002e0c8129947040a779ab4077 -rb6da459880f7f3c999a630c24e066902102768c8 --- lams_central/web/includes/javascript/openUrls.js (.../openUrls.js) (revision acc8d2acf5b6b0002e0c8129947040a779ab4077) +++ lams_central/web/includes/javascript/openUrls.js (.../openUrls.js) (revision b6da459880f7f3c999a630c24e066902102768c8) @@ -64,7 +64,7 @@ } else { - if(authorWin && !authorWin.closed) + if(authorWin && !authorWin.closed && authorWin.location.pathname.indexOf('home.do?method=author') > -1) { //authorWin.location = 'home.do?method=author'; authorWin.focus(); @@ -84,7 +84,7 @@ } else { - if(authorWin && !authorWin.closed) + if(authorWin && !authorWin.closed && authorWin.location.pathname.indexOf('pedagogicalPlanner.do') > -1) { authorWin.focus(); }