Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
x3domlet
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
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
Elphel
x3domlet
Commits
45650e58
Commit
45650e58
authored
Aug 24, 2017
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
+check box in marker info
parent
046f0d0a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
x3dom_init.js
js/x3dom_init.js
+14
-0
No files found.
js/x3dom_init.js
View file @
45650e58
...
...
@@ -1365,6 +1365,7 @@ X3DOMObject.displayMarkInfo = function(index){
' <td><input type=
\'
text
\'
id=
\'
marker_x
\'
index='
+
index
+
' class=
\'
marker_coordinates
\'
/></td>'
,
' <td><input type=
\'
text
\'
id=
\'
marker_y
\'
index='
+
index
+
' class=
\'
marker_coordinates
\'
/></td>'
,
' <td><input type=
\'
text
\'
id=
\'
marker_z
\'
index='
+
index
+
' class=
\'
marker_coordinates
\'
/></td>'
,
' <td><input type=
\'
checkbox
\'
index='
+
index
+
' id=
\'
rf_switcher
\'
title=
\'
switch between global and model coordinates
\'
/></td>'
,
' </tr>'
,
' </table>'
,
' </td>'
,
...
...
@@ -1398,6 +1399,19 @@ X3DOMObject.displayMarkInfo = function(index){
ui_showMessage
(
"window-markinfo"
,
msg
);
}
if
(
SETTINGS
.
global_coordinates
){
$
(
"#rf_switcher"
).
prop
(
"checked"
,
true
);
}
$
(
"#rf_switcher"
).
on
(
'change'
,
function
(){
//$("#global_coordinates").prop("checked",$(this).prop("checked"));
$
(
"#global_coordinates"
).
click
();
X3DOMObject
.
displayMarkInfo
(
$
(
this
).
attr
(
"index"
));
});
// enable input fields here
$
(
".marker_coordinates"
).
each
(
function
(){
...
...
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