Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 425B39135 for ; Sat, 29 Oct 2011 19:47:56 +0000 (UTC) Received: (qmail 96921 invoked by uid 500); 29 Oct 2011 19:47:55 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 96898 invoked by uid 500); 29 Oct 2011 19:47:55 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 96890 invoked by uid 99); 29 Oct 2011 19:47:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Oct 2011 19:47:55 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Oct 2011 19:47:53 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 3CC08326A0C for ; Sat, 29 Oct 2011 19:47:32 +0000 (UTC) Date: Sat, 29 Oct 2011 19:47:32 +0000 (UTC) From: "Jan Lehnardt (Closed) (JIRA)" To: dev@couchdb.apache.org Message-ID: <128977378.37255.1319917652250.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Closed] (COUCHDB-717) Futon 0.11.0 no longer works under IE8 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Lehnardt closed COUCHDB-717. -------------------------------- Resolution: Unresolved Please reopen if this persists with 1.1.x > Futon 0.11.0 no longer works under IE8 > -------------------------------------- > > Key: COUCHDB-717 > URL: https://issues.apache.org/jira/browse/COUCHDB-717 > Project: CouchDB > Issue Type: Bug > Components: Futon > Affects Versions: 0.11 > Environment: User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET CLR 1.1.4322; Creative AutoUpdate v1.40.01) > Timestamp: Mon, 29 Mar 2010 19:41:59 UTC > Reporter: Andrew Alexander > Attachments: couch_test_runner.js, futon.js > > > Futon is no longer functional in CouchDB 0.11 under IE8. > This is a loss of functionality from CouchDB 0.10. > ----- Error Message ------ > Message: Object doesn't support this property or method > Line: 136 > Char: 18 > Code: 0 > URI: http://localhost:5984/_utils/script/futon.js?0.11.0 > ------------------------------- > indexOf on Arrays is a Javascript 1.6 feature, which is not completely implemented in IE8 > This can be resolved by using jQuerys $.inArray() > or > by adding the following code to the top of the script (source: MDC) > https://developer.mozilla.org/En/Core_JavaScript_1.5_Reference/Objects/Array/IndexOf > if (!Array.prototype.indexOf) > { > Array.prototype.indexOf = function(elt /*, from*/) > { > var len = this.length >>> 0; > var from = Number(arguments[1]) || 0; > from = (from < 0) > ? Math.ceil(from) > : Math.floor(from); > if (from < 0) > from += len; > for (; from < len; from++) > { > if (from in this && > this[from] === elt) > return from; > } > return -1; > }; > } -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira