Author: buildbot Date: Tue Oct 1 20:21:57 2013 New Revision: 880745 Log: Staging update by buildbot for ooo-site
Modified: websites/staging/ooo-site/trunk/cgi-bin/ (props changed) websites/staging/ooo-site/trunk/content/ (props changed) websites/staging/ooo-site/trunk/content/download/test/download_other.js Propchange: websites/staging/ooo-site/trunk/cgi-bin/ ------------------------------------------------------------------------------ --- cms:source-revision (original) +++ cms:source-revision Tue Oct 1 20:21:57 2013 @@ -1 +1 @@ -1528199 +1528205 Propchange: websites/staging/ooo-site/trunk/content/ ------------------------------------------------------------------------------ --- cms:source-revision (original) +++ cms:source-revision Tue Oct 1 20:21:57 2013 @@ -1 +1 @@ -1528199 +1528205 Modified: websites/staging/ooo-site/trunk/content/download/test/download_other.js ============================================================================== --- websites/staging/ooo-site/trunk/content/download/test/download_other.js (original) +++ websites/staging/ooo-site/trunk/content/download/test/download_other.js Tue Oct 1 20:21:57 2013 @@ -80,6 +80,24 @@ function write_top() { * This writes the header row with the OS headlines */ function write_header( FIRST_HEADER ) { + // Add ECMA262-5 Array methods if not supported natively + // To workaround that MSIE 8 and older do not support this function + if ( !( 'indexOf' in Array.prototype ) ) { + Array.prototype.indexOf= function(find, i /*opt*/) { + if (i === undefined) + i = 0; + if (i < 0) + i+= this.length; + if (i < 0) + i = 0; + for (var n = this.length; i < n; i++) { + if (i in this && this[ i ] === find) + return i; + } + return -1; + }; +} + // If it's the first header at the top of a table use a normal font size // But use a smaller font size for further headers within the table if ( FIRST_HEADER == 1 ) {