Index: lams_central/web/includes/javascript/openUrls.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/includes/javascript/openUrls.js,v diff -u -r1.37 -r1.38 --- lams_central/web/includes/javascript/openUrls.js 2 Jul 2009 08:19:14 -0000 1.37 +++ lams_central/web/includes/javascript/openUrls.js 3 Mar 2010 04:24:01 -0000 1.38 @@ -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(); }