Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nemt_backend
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tobin
nemt_backend
Commits
96c7a6da
Commit
96c7a6da
authored
Sep 02, 2019
by
Tobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dc
parent
473d2d8b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
nemt_custom.js
assets/js/nemt_custom.js
+2
-2
No files found.
assets/js/nemt_custom.js
View file @
96c7a6da
...
@@ -346,9 +346,9 @@ function markAsScheduled(transport_id,is_scheduled,thisObj){
...
@@ -346,9 +346,9 @@ function markAsScheduled(transport_id,is_scheduled,thisObj){
jQuery
.
each
(
resp
[
'succArr'
],
function
(
index
,
value
)
{
jQuery
.
each
(
resp
[
'succArr'
],
function
(
index
,
value
)
{
if
(
ride_ids
!=
undefined
&&
ride_ids
!=
'undefined'
&&
ride_ids
!=
null
&&
ride_ids
!=
'null'
&&
ride_ids
!=
''
){
if
(
ride_ids
!=
undefined
&&
ride_ids
!=
'undefined'
&&
ride_ids
!=
null
&&
ride_ids
!=
'null'
&&
ride_ids
!=
''
){
if
(
is_scheduled
==
'1'
){
if
(
is_scheduled
==
'1'
){
if
(
ride_ids
.
includes
(
value
))
ride_ids
.
splice
(
ride_ids
.
indexOf
(
value
),
1
);
if
(
ride_ids
.
includes
(
value
))
{
ride_ids
.
splice
(
ride_ids
.
indexOf
(
value
),
1
);
}
}
else
{
}
else
{
if
(
!
ride_ids
.
includes
(
value
))
ride_ids
.
push
(
value
);
if
(
!
ride_ids
.
includes
(
value
))
{
ride_ids
.
push
(
value
);
}
}
}
}
}
if
(
thisObj
!=
''
){
if
(
thisObj
!=
''
){
...
...
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