Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
f1e35e7e
Commit
f1e35e7e
authored
Nov 13, 2018
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removes jquery as a dependency
parent
6d2b8036
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
app/assets/javascripts/pipelines/components/graph/action_component.vue
...vascripts/pipelines/components/graph/action_component.vue
+3
-4
No files found.
app/assets/javascripts/pipelines/components/graph/action_component.vue
View file @
f1e35e7e
<
script
>
<
script
>
import
$
from
'
jquery
'
;
import
{
GlTooltipDirective
,
GlButton
}
from
'
@gitlab-org/gitlab-ui
'
;
import
{
GlTooltipDirective
,
GlButton
}
from
'
@gitlab-org/gitlab-ui
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
{
dasherize
}
from
'
~/lib/utils/text_utility
'
;
import
{
dasherize
}
from
'
~/lib/utils/text_utility
'
;
...
@@ -58,8 +57,7 @@ export default {
...
@@ -58,8 +57,7 @@ export default {
*
*
*/
*/
onClickAction
()
{
onClickAction
()
{
$
(
this
.
$el
).
tooltip
(
'
hide
'
);
this
.
$root
.
$emit
(
'
bv::hide::tooltip
'
,
`js-ci-action-
${
this
.
link
}
`
);
this
.
isDisabled
=
true
;
this
.
isDisabled
=
true
;
axios
axios
...
@@ -79,7 +77,8 @@ export default {
...
@@ -79,7 +77,8 @@ export default {
</
script
>
</
script
>
<
template
>
<
template
>
<gl-button
<gl-button
v-gl-tooltip.hover=
"
{ boundary: 'viewport' }"
:id=
"`js-ci-action-$
{link}`"
v-gl-tooltip="{ boundary: 'viewport' }"
:title="tooltipText"
:title="tooltipText"
:class="cssClass"
:class="cssClass"
:disabled="isDisabled"
:disabled="isDisabled"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment