Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2018-06-14 20:37:16 +0300
committerTim Zallmann <tzallmann@gitlab.com>2018-06-14 20:37:16 +0300
commit3b2a909ac22b7ac559062973dbd1c951fae3ed43 (patch)
treef48da067230b94279cb1231c17a6198defd1603c /app/assets/javascripts/ide/services
parent20ca5e3041949c09820fc9e467f7e1b9dd980d6c (diff)
Makes the html attribute in the json output optional with the option html_render=false
Diffstat (limited to 'app/assets/javascripts/ide/services')
-rw-r--r--app/assets/javascripts/ide/services/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/ide/services/index.js b/app/assets/javascripts/ide/services/index.js
index e8b51f2b516..a8b9afa35d9 100644
--- a/app/assets/javascripts/ide/services/index.js
+++ b/app/assets/javascripts/ide/services/index.js
@@ -9,7 +9,7 @@ export default {
return Vue.http.get(endpoint, { params: { format: 'json' } });
},
getFileData(endpoint) {
- return Vue.http.get(endpoint, { params: { format: 'json' } });
+ return Vue.http.get(endpoint, { params: { format: 'json', html_render: 'false' } });
},
getRawFileData(file) {
if (file.tempFile) {