BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
c59f80ff
Commit
c59f80ff
authored
May 04, 2017
by
Regis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change error handling for api callback - check length is not zero on jquery el
parent
082b868e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
7 deletions
+2
-7
tasks.js
app/assets/javascripts/issue_show/actions/tasks.js
+1
-1
issue_title_description.vue
...assets/javascripts/issue_show/issue_title_description.vue
+1
-6
No files found.
app/assets/javascripts/issue_show/actions/tasks.js
View file @
c59f80ff
...
...
@@ -15,7 +15,7 @@ export default (newStateData, tasks) => {
tasksStates
.
currentState
=
tasks
.
indexOf
(
'0 of 0'
)
===
0
;
}
if
(
$tasks
&&
!
tasksStates
.
newState
)
{
if
(
$tasks
.
length
!==
0
&&
!
tasksStates
.
newState
)
{
$tasks
.
text
(
newStateData
.
task_status
);
$tasksShort
.
text
(
newStateData
.
task_status
);
}
else
if
(
tasksStates
.
currentState
)
{
...
...
app/assets/javascripts/issue_show/issue_title_description.vue
View file @
c59f80ff
...
...
@@ -25,12 +25,7 @@ export default {
this
.
renderResponse
(
res
);
},
errorCallback
:
(
err
)
=>
{
if
(
process
.
env
.
NODE_ENV
!==
'production'
)
{
// eslint-disable-next-line no-console
console
.
error
(
'ISSUE SHOW REALTIME ERROR'
,
err
,
err
.
stack
);
}
else
{
throw
new
Error
(
err
);
}
throw
new
Error
(
err
);
},
});
...
...
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