Return-Path: X-Original-To: apmail-incubator-ooo-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BAD4D99AB for ; Fri, 30 Dec 2011 23:59:10 +0000 (UTC) Received: (qmail 38724 invoked by uid 500); 30 Dec 2011 23:59:10 -0000 Delivered-To: apmail-incubator-ooo-commits-archive@incubator.apache.org Received: (qmail 38697 invoked by uid 500); 30 Dec 2011 23:59:10 -0000 Mailing-List: contact ooo-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-commits@incubator.apache.org Received: (qmail 38690 invoked by uid 99); 30 Dec 2011 23:59:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Dec 2011 23:59:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Dec 2011 23:59:08 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 1BC8623889C5; Fri, 30 Dec 2011 23:58:47 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1225974 - /incubator/ooo/trunk/main/solenv/bin/build.pl Date: Fri, 30 Dec 2011 23:58:47 -0000 To: ooo-commits@incubator.apache.org From: arist@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20111230235847.1BC8623889C5@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: arist Date: Fri Dec 30 23:58:46 2011 New Revision: 1225974 URL: http://svn.apache.org/viewvc?rev=1225974&view=rev Log: Fix to page loading in build.html Modified: incubator/ooo/trunk/main/solenv/bin/build.pl Modified: incubator/ooo/trunk/main/solenv/bin/build.pl URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/solenv/bin/build.pl?rev=1225974&r1=1225973&r2=1225974&view=diff ============================================================================== --- incubator/ooo/trunk/main/solenv/bin/build.pl (original) +++ incubator/ooo/trunk/main/solenv/bin/build.pl Fri Dec 30 23:58:46 2011 @@ -2901,6 +2901,10 @@ sub generate_html_file { }; print HTML 'function refreshInfoFrames() { ' . "\n"; + print HTML ' if (top.innerFrame.frames[2].location) {' . "\n"; + print HTML ' var urlquery = location.href.split("?");' . "\n"; + print HTML ' top.innerFrame.frames[2].location = urlquery[0] + "?initFrame2";' . "\n"; + print HTML ' }' . "\n"; print HTML ' var ModuleNameObj = top.innerFrame.frames[2].document.getElementById("ModuleErrors");' . "\n"; print HTML ' if (ModuleNameObj != null) {' . "\n"; print HTML ' var ModuleName = ModuleNameObj.getAttribute(\'name\');' . "\n"; @@ -3002,6 +3006,10 @@ sub generate_html_file { print HTML ' top.innerFrame.frames[1].document.close();' . "\n"; print HTML '};' . "\n"; print HTML 'function Error(Module, Message1, Message2) {' . "\n"; + print HTML ' if (top.innerFrame.frames[2].location) {' . "\n"; + print HTML ' var urlquery = location.href.split("?");' . "\n"; + print HTML ' top.innerFrame.frames[2].location = urlquery[0] + "?initFrame2";' . "\n"; + print HTML ' }' . "\n"; print HTML ' if (Module == \'\') {' . "\n"; print HTML ' if (Message1 != \'\') {' . "\n"; print HTML ' var erroneous_modules = Message1.split("
");' . "\n";