Index: lams_central/web/includes/javascript/openUrls.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/includes/javascript/openUrls.js,v diff -u -r1.36.2.1 -r1.36.2.1.4.1 --- lams_central/web/includes/javascript/openUrls.js 23 Apr 2009 01:41:00 -0000 1.36.2.1 +++ lams_central/web/includes/javascript/openUrls.js 3 Mar 2010 04:25:55 -0000 1.36.2.1.4.1 @@ -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(); }