summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorMesut Güneş <gunesmes@gmail.com>2019-08-13 17:18:22 +0000
committerMike Greiling <mike@pixelcog.com>2019-08-13 17:18:22 +0000
commit341df9f7e53676e83d9f007c8cee2d8ce4fe5160 (patch)
tree94bd8a0ce87d4f553ff0356a8fc588672640db0b /app
parentcc771ada65cf441c223612fd8784c41fad172ab9 (diff)
downloadgitlab-ce-341df9f7e53676e83d9f007c8cee2d8ce4fe5160.tar.gz
representing error message with .flash-container element
Diffstat (limited to 'app')
-rw-r--r--app/views/projects/update.js.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/update.js.haml b/app/views/projects/update.js.haml
index 70f1bf8ef46..c5eecc900b2 100644
--- a/app/views/projects/update.js.haml
+++ b/app/views/projects/update.js.haml
@@ -4,7 +4,7 @@
location.reload();
- else
:plain
- $(".project-edit-errors").html("#{escape_javascript(render('errors'))}");
+ $(".flash-container").html("#{escape_javascript(render('errors'))}");
$('.save-project-loader').hide();
$('.project-edit-container').show();
$('.edit-project .js-btn-success-general-project-settings').enable();