From dev-return-9446-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Mon Mar 29 20:32:51 2010 Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 25702 invoked from network); 29 Mar 2010 20:32:51 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Mar 2010 20:32:51 -0000 Received: (qmail 90992 invoked by uid 500); 29 Mar 2010 20:32:50 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 90940 invoked by uid 500); 29 Mar 2010 20:32:50 -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 90932 invoked by uid 99); 29 Mar 2010 20:32:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Mar 2010 20:32:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Mar 2010 20:32:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 36D09234C495 for ; Mon, 29 Mar 2010 20:32:27 +0000 (UTC) Message-ID: <300299723.558371269894747223.JavaMail.jira@brutus.apache.org> Date: Mon, 29 Mar 2010 20:32:27 +0000 (UTC) From: "Andrew Alexander (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Created: (COUCHDB-717) Futon has scripting issues in 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 Futon has scripting issues in 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 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. - You can reply to this email to add a comment to the issue online.