couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sven Helmberger (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-200) Source Tab of documents of futon should be editable.
Date Tue, 22 Sep 2009 19:04:16 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12758368#action_12758368
] 

Sven Helmberger commented on COUCHDB-200:
-----------------------------------------

The patch works for me except for a wrong error message in case of an JSON error on the source
tab. 

changed the comparison from

if (msg == "parseJSON") 

to

if (msg == "parseJSON" || msg == "JSON.parse") 

like below and it worked perfectly.

> Source Tab of documents of futon should be editable.
> ----------------------------------------------------
>
>                 Key: COUCHDB-200
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-200
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Administration Console
>            Reporter: Sven Helmberger
>            Assignee: Christopher Lenz
>         Attachments: couchdb-200-SH.patch, couchdb-200.patch, couchdb-srcedit.patch,
futon-srcedit.patch
>
>
> I changed the futon code to provide an editable source view for documents. changes are
both saved and synced to the "fields" tab, a cookie is set to restore the last active tab.
> In addition, browse.js contained a comment that two methods should be module private,
so I changed the code to wrap everything in an anonymous closure to enable private module
variables.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message