Created
May 19, 2017 10:14
-
-
Save nickvergessen/4f86ec81a4fbdb0f64d41e4cb97e5529 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/js/mood.js b/js/mood.js | |
index a7e2bf2..64ac2a5 100644 | |
--- a/js/mood.js | |
+++ b/js/mood.js | |
@@ -48,7 +48,7 @@ | |
var result = {status: -1}; | |
$.ajax({ | |
method: 'GET', | |
- url: OC.generateUrl(OC.linkTo('mood', 'data/url')), | |
+ url: OC.generateUrl('apps/mood/data/url'), | |
data: { | |
url: url | |
} | |
@@ -61,8 +61,8 @@ | |
this.localUrlOfExternalImage = function (url) { | |
- return OC.generateUrl(OC.linkTo('mood', 'data/image') + '?url=' + | |
- encodeURIComponent(url)); | |
+ return OC.generateUrl('apps/mood/data/image') + '?url=' + | |
+ encodeURIComponent(url); | |
}; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment