Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:roosmaa
couchdb
couchdb-futon-default-view-language.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File couchdb-futon-default-view-language.patch of Package couchdb
--- share/www/script/futon.browse.js.orig 2013-11-27 15:44:13.000000000 +0100 +++ share/www/script/futon.browse.js 2013-11-27 15:44:24.000000000 +0100 @@ -599,6 +599,9 @@ for (var viewName in (doc.views || {})) { if (viewName != localViewName) numViews++; } + if (doc.language === undefined) { + doc.language = 'javascript'; + } if (numViews > 0 && page.viewLanguage != doc.language) { alert("Cannot save view because the design document language " + "is \"" + doc.language + "\", not \"" +
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor