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
path: root/app
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2019-03-07 17:02:48 +0300
committerFilipa Lacerda <filipa@gitlab.com>2019-03-07 17:02:48 +0300
commitdd56b63ecce6eab527b99442e74811f0fc830812 (patch)
treeb674ac40e6e2c635e6853b3fec5fca91cc0e9769 /app
parent02e464b6363201998cbef478bfe34e4fefadcfa6 (diff)
parent6a3a28bfdec6feeebd880d048f8577906b48aaa7 (diff)
Merge branch 'fix-blob-editor-deleting-content' into 'master'
Fixed the blob editor deleting all content for files Closes #58578 See merge request gitlab-org/gitlab-ce!25865
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/blob_edit/blob_bundle.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/blob_edit/blob_bundle.js b/app/assets/javascripts/blob_edit/blob_bundle.js
index 5f64175362d..6aaf5bf7296 100644
--- a/app/assets/javascripts/blob_edit/blob_bundle.js
+++ b/app/assets/javascripts/blob_edit/blob_bundle.js
@@ -13,7 +13,7 @@ export default () => {
if (editBlobForm.length) {
const urlRoot = editBlobForm.data('relativeUrlRoot');
const assetsPath = editBlobForm.data('assetsPrefix');
- const filePath = editBlobForm.data('blobFilename');
+ const filePath = `${editBlobForm.data('blobFilename')}`;
const currentAction = $('.js-file-title').data('currentAction');
const projectId = editBlobForm.data('project-id');
const isMarkdown = editBlobForm.data('is-markdown');