diff options
author | Juha Sippola <juhasippola@ovi.com> | 2013-09-13 12:58:15 +0300 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-13 14:12:13 +0200 |
commit | caa82f5e6dc80b00eb86194cd52e339eccfac76c (patch) | |
tree | 118a291d15d5a3f79b67876440fe9dca29bcdb4b | |
parent | 9d12bf895e18fd8a723f218783f9b9b08cb95c3d (diff) |
Qt metrics v1.4.1: Bug correction to include missing semicolons
There are a few semicolons missing in the javascript code in the
metricspageci.php. Now corrected. The code worked fine also without the
semicolons, therefore not identified earlier.
Change-Id: I78e3db562c35374fe133f906b7055a703b983d9c
Reviewed-by: Tony SarajΓ€rvi <tony.sarajarvi@digia.com>
-rw-r--r-- | non-puppet/qtmetrics/footer.php | 2 | ||||
-rw-r--r-- | non-puppet/qtmetrics/metricspageci.php | 20 |
2 files changed, 11 insertions, 11 deletions
diff --git a/non-puppet/qtmetrics/footer.php b/non-puppet/qtmetrics/footer.php index 2a1c498..f444cee 100644 --- a/non-puppet/qtmetrics/footer.php +++ b/non-puppet/qtmetrics/footer.php @@ -42,7 +42,7 @@ ?> <div id="footer"> -<b>Report builder v1.4 25-Jun-2013</b><br/> +<b>Report builder v1.4.1 13-Sep-2013</b><br/> Description, guidance and support:<br/> <a href="http://qt-project.org/wiki/Qt_Metrics_Page_Description" target="_blank">http://qt-project.org/wiki/Qt_Metrics_Page_Description</a> </div> diff --git a/non-puppet/qtmetrics/metricspageci.php b/non-puppet/qtmetrics/metricspageci.php index a0c0b42..de0c1d2 100644 --- a/non-puppet/qtmetrics/metricspageci.php +++ b/non-puppet/qtmetrics/metricspageci.php @@ -108,7 +108,7 @@ session_start(); var appliedFilter; var clearFilter; var thisFilter = "Project"; - var timescaleType = document.getElementById("timescale").value // Type: All/In/Since + var timescaleType = document.getElementById("timescale").value; // Type: All/In/Since var timescaleValue = document.getElementById("since").value; // In case of type "Since" use date value set in the calendar if (timescaleType.search("In") == 0) { // In case of type "In" ... timescaleValue = timescaleType.substr(3); // ... set value to month (e.g. "2013-06") @@ -145,7 +145,7 @@ session_start(); var appliedFilter; var clearFilter; var thisFilter = "Conf"; - var timescaleType = document.getElementById("timescale").value // Type: All/In/Since + var timescaleType = document.getElementById("timescale").value; // Type: All/In/Since var timescaleValue = document.getElementById("since").value; // In case of type "Since" use date value set in the calendar if (timescaleType.search("In") == 0) { // In case of type "In" ... timescaleValue = timescaleType.substr(3); // ... set value to month (e.g. "2013-06") @@ -184,7 +184,7 @@ session_start(); var appliedFilter; var clearFilter; var thisFilter = "Autotest"; - var timescaleType = document.getElementById("timescale").value // Type: All/In/Since + var timescaleType = document.getElementById("timescale").value; // Type: All/In/Since var timescaleValue = document.getElementById("since").value; // In case of type "Since" use date value set in the calendar if (timescaleType.search("In") == 0) { // In case of type "In" ... timescaleValue = timescaleType.substr(3); // ... set value to month (e.g. "2013-06") @@ -222,7 +222,7 @@ session_start(); var appliedFilter; var clearFilter; var thisFilter = "Timescale"; - var timescaleType = document.getElementById("timescale").value // Type: All/In/Since + var timescaleType = document.getElementById("timescale").value; // Type: All/In/Since var timescaleValue = document.getElementById("since").value; // In case of type "Since" use date value set in the calendar if (timescaleType.search("In") == 0) { // In case of type "In" ... timescaleValue = timescaleType.substr(3); // ... set value to month (e.g. "2013-06") @@ -323,8 +323,8 @@ session_start(); /* Open a new window for a message file (html) */ function showMessageWindow(messageFile) { - myWindow=window.open(messageFile,'','resizable=yes,scrollbars=yes,width=600,height=600,left=500,top=100') - myWindow.focus() + myWindow=window.open(messageFile,'','resizable=yes,scrollbars=yes,width=600,height=600,left=500,top=100'); + myWindow.focus(); } /* Get time offset between current time and the GMT/UTC (returned in format "GMT+0300") */ @@ -341,13 +341,13 @@ session_start(); } else { // For US timezones the timezone name used instead of "UTC" in IE offsetHour = -1 * visitorTime.getTimezoneOffset() / 60; // Create the string based on getTimezoneOffset if (offsetHour > 9) - timeOffset = "GMT+" + offsetHour + "00" + timeOffset = "GMT+" + offsetHour + "00"; if (offsetHour >= 0 && offsetHour >= 9) - timeOffset = "GMT+0" + offsetHour + "00" + timeOffset = "GMT+0" + offsetHour + "00"; if (offsetHour >= -9 && offsetHour < 0) - timeOffset = "GMT-0" + Math.abs(offsetHour) + "00" + timeOffset = "GMT-0" + Math.abs(offsetHour) + "00"; if (offsetHour < -9) - timeOffset = "GMT-" + Math.abs(offsetHour) + "00" + timeOffset = "GMT-" + Math.abs(offsetHour) + "00"; } return timeOffset; } |