couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertkowal...@apache.org
Subject fauxton commit: updated refs/heads/master to 95b494e
Date Fri, 07 Nov 2014 15:44:23 GMT
Repository: couchdb-fauxton
Updated Branches:
  refs/heads/master e5061af41 -> 95b494ec6


Fix path for ZeroClipboard

If deployed as an CouchApp, the path for ZeroClipboard did not
match

Steps to reproduce:
 - run `grunt couchapp_deploy` with a Couch in Admin-Party
 - open http://localhost:5984/fauxton/_design/fauxton/index.html

Closes COUCHDB-2323


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/95b494ec
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/95b494ec
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/95b494ec

Branch: refs/heads/master
Commit: 95b494ec6a1eb8bcb62369883774db0c60bacd5c
Parents: e5061af
Author: Robert Kowalski <robertkowalski@apache.org>
Authored: Wed Nov 5 14:38:51 2014 +0100
Committer: Robert Kowalski <robertkowalski@apache.org>
Committed: Fri Nov 7 16:43:48 2014 +0100

----------------------------------------------------------------------
 app/addons/fauxton/components.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/95b494ec/app/addons/fauxton/components.js
----------------------------------------------------------------------
diff --git a/app/addons/fauxton/components.js b/app/addons/fauxton/components.js
index cf80d9a..787436a 100644
--- a/app/addons/fauxton/components.js
+++ b/app/addons/fauxton/components.js
@@ -835,7 +835,7 @@ function(app, FauxtonAPI, ace, spin, ZeroClipboard) {
       this.moviePath = FauxtonAPI.getExtensions('zeroclipboard:movielist')[0];
 
       if (_.isUndefined(this.moviePath)) {
-       this.moviePath = app.host + app.root + "js/zeroclipboard/ZeroClipboard.swf";
+       this.moviePath = 'js/zeroclipboard/ZeroClipboard.swf';
       }
 
       ZeroClipboard.config({ moviePath: this.moviePath });


Mime
View raw message