gitlab-org--gitlab-foss/spec/javascripts
Alfredo Sumaran 3a66c2398a Merge branch 'issue_24020' into 'master'
fix display hook error message

## What does this MR do?

Fix hook error message display.  

## Are there points in the code the reviewer needs to double check?

Probably Hook will return the plain multi line text.  It is better `pre` tag than `h4`.  
I thought of another good looking display, but I did not come up with it. 😓 

## Why was this MR needed?

When the hook returns an STDERR, "Merge in progress" button spinning forever. Due to javascript's error.  

## Screenshots (if relevant)

When update hook returns an error like

```
XXXXXXXX

YYYYYYYY
ZZZZZZZZ
```

![screen_shot](/uploads/8dac77972a309dfcb72c741dffbd7270/screen_shot.png)

## What are the relevant issue numbers?

Closes #24020

See merge request !7775
2016-12-09 22:49:08 +00:00
..
behaviors explicitly disable eslint inline 2016-11-15 16:30:34 +00:00
boards Move Ajax interceptor into describe block (!7304) 2016-11-05 12:11:43 +01:00
environments Adds tests 2016-12-09 10:14:48 +00:00
extensions Added element extensions spec for .matches and .closest 2016-12-02 12:10:11 +00:00
fixtures Merge branch '15081-wrong-login-tab-ldap-frontend' into 'master' 2016-12-09 09:17:41 +00:00
graphs explicitly disable eslint inline 2016-11-15 16:30:34 +00:00
lib/utils Fix compatibility with Internet Explorer 11 for merge requests 2016-12-03 22:40:18 +01:00
u2f explicitly disable eslint inline 2016-11-15 16:30:34 +00:00
vue_common_components Adds tests 2016-12-09 10:14:48 +00:00
.eslintrc clean up globals exemptions within .eslintrc 2016-11-22 12:19:51 -06:00
abuse_reports_spec.js.es6 disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
activities_spec.js.es6 convert activities.js to es6 class syntax 2016-11-20 01:32:20 -06:00
awards_handler_spec.js explicitly disable eslint inline 2016-11-15 16:30:34 +00:00
bootstrap_linked_tabs_spec.js.es6 Fixed influence from other specs. 2016-12-05 11:00:19 +01:00
build_spec.js.es6 Remove JSX/React eslint plugins. 2016-11-29 16:15:47 +00:00
dashboard_spec.js.es6 Replaced jquery.cookie with js.cookie 2016-10-27 21:33:16 +01:00
datetime_utility_spec.js.es6 disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
diff_comments_store_spec.js.es6 Remove logging to console in diff_comments_store_spec 2016-11-05 12:41:36 +01:00
gl_dropdown_spec.js.es6 Do not allow text input in dropdown while loading 2016-10-28 23:26:33 +03:00
gl_field_errors_spec.js.es6 Change show-gl-field-errors to gl-show-field-errors 2016-11-02 11:35:21 +01:00
header_spec.js explicitly disable eslint inline 2016-11-15 16:30:34 +00:00
issue_spec.js Explicitly name namespace and projects for frontend fixtures 2016-11-25 11:03:35 +01:00
labels_issue_sidebar_spec.js.es6 disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
line_highlighter_spec.js explicitly disable eslint inline 2016-11-15 16:30:34 +00:00
merge_request_spec.js explicitly disable eslint inline 2016-11-15 16:30:34 +00:00
merge_request_tabs_spec.js Satisfied eslint 2016-12-03 23:04:21 +01:00
merge_request_widget_spec.js fix display hook error message 2016-12-05 22:02:45 +09:00
new_branch_spec.js explicitly disable eslint inline 2016-11-15 16:30:34 +00:00
notes_spec.js Replace static fixture for notes_spec (!7683) 2016-12-01 15:04:07 +01:00
pretty_time_spec.js.es6 Backport SmartInterval, PrettyTime, SubbableResource from EE. 2016-11-18 16:49:40 +01:00
project_title_spec.js explicitly disable eslint inline 2016-11-15 16:30:34 +00:00
right_sidebar_spec.js Replace static fixture for right_sidebar_spec (!7687) 2016-11-28 20:34:45 +01:00
search_autocomplete_spec.js explicitly disable eslint inline 2016-11-15 16:30:34 +00:00
shortcuts_issuable_spec.js Replace static fixture for shortcuts_issuable_spec (!7685) 2016-11-23 01:13:36 +01:00
signin_tabs_memoizer_spec.js.es6 Fixed Wrong Tab Selected When Loggin Fails And Multiple Login Tabs Exists 2016-12-02 10:19:31 +01:00
smart_interval_spec.js.es6 Remove JSX/React eslint plugins. 2016-11-29 16:15:47 +00:00
spec_helper.js Use Rails test host name for frontend fixtures 2016-11-25 11:03:35 +01:00
subbable_resource_spec.js.es6 Backport SmartInterval, PrettyTime, SubbableResource from EE. 2016-11-18 16:49:40 +01:00
syntax_highlight_spec.js explicitly disable eslint inline 2016-11-15 16:30:34 +00:00
zen_mode_spec.js Replace static fixture for zen_mode_spec (!7686) 2016-11-23 01:29:32 +01:00