Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-web-393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-web-393
Commits
ebae18e2
Commit
ebae18e2
authored
Jun 14, 2017
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed refreshing
parent
570dc8b5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
jquery-jp4.js
src/jp4-canvas/jquery-jp4.js
+16
-2
No files found.
src/jp4-canvas/jquery-jp4.js
View file @
ebae18e2
...
@@ -214,6 +214,14 @@
...
@@ -214,6 +214,14 @@
$
(
this
).
trigger
(
"canvas_ready"
);
$
(
this
).
trigger
(
"canvas_ready"
);
if
(
settings
.
refresh
)
{
if
(
DEBUG
){
TX
=
Date
.
now
();
T0
=
Date
.
now
();
}
send_request
();
}
}
else
if
((
IMAGE_FORMAT
==
"JP4"
)
||
(
IMAGE_FORMAT
==
"JP46"
)){
}
else
if
((
IMAGE_FORMAT
==
"JP4"
)
||
(
IMAGE_FORMAT
==
"JP46"
)){
if
(
settings
.
fast
){
if
(
settings
.
fast
){
...
@@ -256,8 +264,6 @@
...
@@ -256,8 +264,6 @@
// too early
// too early
//console.log("#"+elem.attr("id")+", time: "+(Date.now()-t0)/1000+" s");
//console.log("#"+elem.attr("id")+", time: "+(Date.now()-t0)/1000+" s");
if
(
settings
.
refresh
)
get_image
();
}
}
});
});
}
}
...
@@ -323,6 +329,14 @@
...
@@ -323,6 +329,14 @@
}
}
//trigger here
//trigger here
cnv_working
.
trigger
(
"canvas_ready"
);
cnv_working
.
trigger
(
"canvas_ready"
);
if
(
settings
.
refresh
)
{
if
(
DEBUG
){
TX
=
Date
.
now
();
T0
=
Date
.
now
();
}
send_request
();
}
}
}
}
}
...
...
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