couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Lehnardt (Closed) (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (COUCHDB-717) Futon 0.11.0 no longer works under IE8
Date Sat, 29 Oct 2011 19:47:32 GMT

     [ 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

        

Mime
View raw message