You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by as...@apache.org on 2015/01/23 17:27:56 UTC
svn commit: r1654257 -
/openoffice/ooo-site/trunk/content/download/download.js
Author: astepukonis
Date: Fri Jan 23 16:27:56 2015
New Revision: 1654257
URL: http://svn.apache.org/r1654257
Log:
Fixed pop-up window issue.
Modified:
openoffice/ooo-site/trunk/content/download/download.js
Modified: openoffice/ooo-site/trunk/content/download/download.js
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/download.js?rev=1654257&r1=1654256&r2=1654257&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/download.js (original)
+++ openoffice/ooo-site/trunk/content/download/download.js Fri Jan 23 16:27:56 2015
@@ -527,7 +527,9 @@ DL.showWindow = function( target_link )
var popup_window = "";
popup_window = window.open( target_link, "_blank", "location=no, menubar=no, resizable=yes, scrollbars=yes, status=no, titlebar=no, toolbar=no, left=100, top=250, width=800, height=550" );
- window.focus();
+ if (window.focus) {
+ popup_window.focus;
+ }
return;
}