Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-web-camvc
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-camvc
Commits
5bd10580
Commit
5bd10580
authored
Apr 04, 2019
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed double trigger for non-tiff formats
parent
9535c4cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
camvc_interface.js
src/camvc_interface.js
+4
-3
No files found.
src/camvc_interface.js
View file @
5bd10580
...
...
@@ -577,8 +577,6 @@ var jp4obj;
camInterface
.
prototype
.
gotShadow
=
function
()
{
console
.
log
(
"Onload!"
);
// alert ("gotShadow: typeof(this)="+typeof(this)+"\ntypeof(gRequests)="+typeof(gRequests));
if
((
gPRoot
[
"comp_run"
].
getValue
()
!=
'run'
)
&&
(
gRequests
.
shadowImage
.
src
.
indexOf
(
gRequests
.
circbuf_fp
)
>=
0
))
{
gRequests
.
ExifCircbufImgNeeded
=
false
;
...
...
@@ -663,7 +661,10 @@ camInterface.prototype.gotShadow=function() {
var
newsrc
=
(
$
(
"#idCameraImage_div"
).
find
(
"#display"
)[
0
]).
toDataURL
();
frAmeselSetImage
(
"idMagnifier_frAmesel"
,
newsrc
);
frAmeselSetImage
(
"idWindow_frAmesel"
,
newsrc
);
$
(
gRequests
.
shadowImage
).
trigger
(
"load"
);
var
format
=
jp4obj
.
data
.
getFormat
();
if
(
format
==
"TIFF"
){
$
(
gRequests
.
shadowImage
).
trigger
(
"load"
);
}
});
...
...
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