Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AmiBX
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
bitrix
AmiBX
Commits
77995dbf
Commit
77995dbf
authored
Apr 26, 2022
by
Kulya
😊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
queue_js_fix_1
parent
1955c8a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
footer_queues.js
template/js/footer_queues.js
+2
-2
No files found.
template/js/footer_queues.js
View file @
77995dbf
...
@@ -520,7 +520,7 @@ function getQuesue() {
...
@@ -520,7 +520,7 @@ function getQuesue() {
Object
.
entries
(
data
.
agents
).
map
(
function
(
arr
)
{
Object
.
entries
(
data
.
agents
).
map
(
function
(
arr
)
{
var
key
=
arr
[
0
],
value
=
arr
[
1
];
var
key
=
arr
[
0
],
value
=
arr
[
1
];
if
(
value
.
connect
&&
value
.
status
===
'
off
'
)
{
if
(
value
.
connect
&&
value
.
status
===
'
off
'
&&
value
.
lastms
!=
"
0
"
)
{
value
.
status
=
'
free
'
value
.
status
=
'
free
'
}
}
...
@@ -538,7 +538,7 @@ function getQuesue() {
...
@@ -538,7 +538,7 @@ function getQuesue() {
* @param {Number|String} queue queue number
* @param {Number|String} queue queue number
* @returns
* @returns
*/
*/
_update
(
data
,
queue
)
{
_update
(
data
,
queue
)
{
const
self
=
this
const
self
=
this
const
nav
=
$
(
`[queue-nav='
${
queue
}
']`
).
get
(
0
)
const
nav
=
$
(
`[queue-nav='
${
queue
}
']`
).
get
(
0
)
...
...
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