incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ar...@apache.org
Subject svn commit: r1225974 - /incubator/ooo/trunk/main/solenv/bin/build.pl
Date Fri, 30 Dec 2011 23:58:47 GMT
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("<br>");' . "\n";



Mime
View raw message