Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Memorekall Member New
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Rekall
Memorekall Member New
Commits
bf63c077
Commit
bf63c077
authored
3 years ago
by
Sebastien
Browse files
Options
Downloads
Patches
Plain Diff
Refactore : rename PopupPanelEdition elements
parent
bfcfddcf
No related branches found
No related tags found
1 merge request
!98
refresh the mosaic on annotation modification
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
capsule-prototype/js/PopupPanelWidget.js
+54
-54
54 additions, 54 deletions
capsule-prototype/js/PopupPanelWidget.js
with
54 additions
and
54 deletions
capsule-prototype/js/PopupPanelWidget.js
+
54
−
54
View file @
bf63c077
...
@@ -6,7 +6,7 @@ function convertToTime(seconds) {
...
@@ -6,7 +6,7 @@ function convertToTime(seconds) {
return
minutes
+
"
:
"
+
remainingSeconds
;
return
minutes
+
"
:
"
+
remainingSeconds
;
}
}
function
Panel
Input
Edit
or
(
data
)
{
function
PanelEdit
ion
(
data
)
{
this
.
tag
=
data
.
tag
;
this
.
tag
=
data
.
tag
;
this
.
readonlyDiv
=
undefined
;
this
.
readonlyDiv
=
undefined
;
this
.
editDiv
=
undefined
;
this
.
editDiv
=
undefined
;
...
@@ -14,14 +14,14 @@ function PanelInputEditor(data) {
...
@@ -14,14 +14,14 @@ function PanelInputEditor(data) {
this
.
popupPanelWidget
=
data
.
popupPanelWidget
;
this
.
popupPanelWidget
=
data
.
popupPanelWidget
;
}
}
// eslint-disable-next-line no-unused-vars
// eslint-disable-next-line no-unused-vars
Panel
Input
Edit
or
.
prototype
.
appendInputEditorDiv
=
function
(
parentDiv
)
{
PanelEdit
ion
.
prototype
.
appendInputEditorDiv
=
function
(
parentDiv
)
{
}
}
Panel
Input
Edit
or
.
prototype
.
closeEdition
=
function
()
{
PanelEdit
ion
.
prototype
.
closeEdition
=
function
()
{
this
.
popupPanelWidget
.
setCurrentOpenedInput
(
undefined
);
this
.
popupPanelWidget
.
setCurrentOpenedInput
(
undefined
);
this
.
editDiv
?.
hide
();
this
.
editDiv
?.
hide
();
this
.
readonlyDiv
?.
show
();
this
.
readonlyDiv
?.
show
();
}
}
Panel
Input
Edit
or
.
prototype
.
openEdition
=
function
()
{
PanelEdit
ion
.
prototype
.
openEdition
=
function
()
{
this
.
popupPanelWidget
.
ensureLastOpenedEditionClosed
();
this
.
popupPanelWidget
.
ensureLastOpenedEditionClosed
();
if
(
this
.
canEdit
)
{
if
(
this
.
canEdit
)
{
this
.
popupPanelWidget
.
setCurrentOpenedInput
(
this
);
this
.
popupPanelWidget
.
setCurrentOpenedInput
(
this
);
...
@@ -32,11 +32,11 @@ PanelInputEditor.prototype.openEdition = function () {
...
@@ -32,11 +32,11 @@ PanelInputEditor.prototype.openEdition = function () {
}
}
}
}
function
AnnotationNamePanel
Input
Edit
or
(
data
)
{
function
AnnotationNamePanelEdit
ion
(
data
)
{
Panel
Input
Edit
or
.
call
(
this
,
data
);
PanelEdit
ion
.
call
(
this
,
data
);
}
}
AnnotationNamePanel
Input
Edit
or
.
prototype
=
Object
.
create
(
Panel
Input
Edit
or
.
prototype
);
AnnotationNamePanelEdit
ion
.
prototype
=
Object
.
create
(
PanelEdit
ion
.
prototype
);
AnnotationNamePanel
Input
Edit
or
.
prototype
.
appendInputEditorDiv
=
function
(
parentDiv
)
{
AnnotationNamePanelEdit
ion
.
prototype
.
appendInputEditorDiv
=
function
(
parentDiv
)
{
let
that
=
this
;
let
that
=
this
;
this
.
readonlyDiv
=
$
(
'
<div>
'
);
this
.
readonlyDiv
=
$
(
'
<div>
'
);
this
.
readonlyDiv
this
.
readonlyDiv
...
@@ -82,7 +82,7 @@ AnnotationNamePanelInputEditor.prototype.appendInputEditorDiv = function (parent
...
@@ -82,7 +82,7 @@ AnnotationNamePanelInputEditor.prototype.appendInputEditorDiv = function (parent
parentDiv
.
append
(
this
.
editDiv
);
parentDiv
.
append
(
this
.
editDiv
);
}
}
}
}
AnnotationNamePanel
Input
Edit
or
.
prototype
.
closeEdition
=
function
()
{
AnnotationNamePanelEdit
ion
.
prototype
.
closeEdition
=
function
()
{
if
(
this
.
canEdit
)
{
if
(
this
.
canEdit
)
{
let
newValue
=
this
.
editDiv
.
val
();
let
newValue
=
this
.
editDiv
.
val
();
this
.
editDiv
.
val
(
newValue
);
this
.
editDiv
.
val
(
newValue
);
...
@@ -100,14 +100,14 @@ AnnotationNamePanelInputEditor.prototype.closeEdition = function () {
...
@@ -100,14 +100,14 @@ AnnotationNamePanelInputEditor.prototype.closeEdition = function () {
$
(
'
#popupNom
'
).
html
(
'
+ Add a name
'
).
addClass
(
"
empty
"
);
$
(
'
#popupNom
'
).
html
(
'
+ Add a name
'
).
addClass
(
"
empty
"
);
}
}
}
}
Panel
Input
Edit
or
.
prototype
.
closeEdition
.
call
(
this
);
PanelEdit
ion
.
prototype
.
closeEdition
.
call
(
this
);
}
}
function
AuthorPanel
Input
Edit
or
(
data
)
{
function
Annotation
AuthorPanelEdit
ion
(
data
)
{
Panel
Input
Edit
or
.
call
(
this
,
data
);
PanelEdit
ion
.
call
(
this
,
data
);
}
}
AuthorPanel
Input
Edit
or
.
prototype
=
Object
.
create
(
Panel
Input
Edit
or
.
prototype
);
Annotation
AuthorPanelEdit
ion
.
prototype
=
Object
.
create
(
PanelEdit
ion
.
prototype
);
AuthorPanel
Input
Edit
or
.
prototype
.
appendInputEditorDiv
=
function
(
parentDiv
)
{
Annotation
AuthorPanelEdit
ion
.
prototype
.
appendInputEditorDiv
=
function
(
parentDiv
)
{
let
that
=
this
;
let
that
=
this
;
this
.
readonlyDiv
=
$
(
'
<div>
'
);
this
.
readonlyDiv
=
$
(
'
<div>
'
);
this
.
readonlyDiv
.
addClass
(
'
popupRightItem
'
)
this
.
readonlyDiv
.
addClass
(
'
popupRightItem
'
)
...
@@ -152,7 +152,7 @@ AuthorPanelInputEditor.prototype.appendInputEditorDiv = function (parentDiv) {
...
@@ -152,7 +152,7 @@ AuthorPanelInputEditor.prototype.appendInputEditorDiv = function (parentDiv) {
parentDiv
.
append
(
this
.
editDiv
);
parentDiv
.
append
(
this
.
editDiv
);
}
}
}
}
AuthorPanel
Input
Edit
or
.
prototype
.
closeEdition
=
function
()
{
Annotation
AuthorPanelEdit
ion
.
prototype
.
closeEdition
=
function
()
{
if
(
this
.
canEdit
)
{
if
(
this
.
canEdit
)
{
let
newValue
=
this
.
editDiv
.
val
();
let
newValue
=
this
.
editDiv
.
val
();
this
.
editDiv
.
val
(
newValue
);
this
.
editDiv
.
val
(
newValue
);
...
@@ -170,14 +170,14 @@ AuthorPanelInputEditor.prototype.closeEdition = function () {
...
@@ -170,14 +170,14 @@ AuthorPanelInputEditor.prototype.closeEdition = function () {
this
.
readonlyDiv
.
html
(
'
+ Add an author
'
).
addClass
(
"
empty
"
);
this
.
readonlyDiv
.
html
(
'
+ Add an author
'
).
addClass
(
"
empty
"
);
}
}
}
}
Panel
Input
Edit
or
.
prototype
.
closeEdition
.
call
(
this
);
PanelEdit
ion
.
prototype
.
closeEdition
.
call
(
this
);
}
}
function
TCPanel
Input
Edit
or
(
data
)
{
function
Annotation
TCPanelEdit
ion
(
data
)
{
Panel
Input
Edit
or
.
call
(
this
,
data
);
PanelEdit
ion
.
call
(
this
,
data
);
}
}
TCPanel
Input
Edit
or
.
prototype
=
Object
.
create
(
Panel
Input
Edit
or
.
prototype
);
Annotation
TCPanelEdit
ion
.
prototype
=
Object
.
create
(
PanelEdit
ion
.
prototype
);
TCPanel
Input
Edit
or
.
prototype
.
appendInputEditorDiv
=
function
(
parentDiv
)
{
Annotation
TCPanelEdit
ion
.
prototype
.
appendInputEditorDiv
=
function
(
parentDiv
)
{
function
onlyNumber
(
event
)
{
function
onlyNumber
(
event
)
{
$
(
this
).
val
(
$
(
this
).
val
().
replace
(
/
[^
0-9
]
/g
,
''
));
$
(
this
).
val
(
$
(
this
).
val
().
replace
(
/
[^
0-9
]
/g
,
''
));
...
@@ -293,7 +293,7 @@ TCPanelInputEditor.prototype.appendInputEditorDiv = function (parentDiv) {
...
@@ -293,7 +293,7 @@ TCPanelInputEditor.prototype.appendInputEditorDiv = function (parentDiv) {
parentDiv
.
append
(
this
.
editDiv
);
parentDiv
.
append
(
this
.
editDiv
);
}
}
}
}
TCPanel
Input
Edit
or
.
prototype
.
closeEdition
=
function
()
{
Annotation
TCPanelEdit
ion
.
prototype
.
closeEdition
=
function
()
{
if
(
this
.
canEdit
)
{
if
(
this
.
canEdit
)
{
let
isNaN
=
(
maybeNaN
)
=>
maybeNaN
!=
maybeNaN
;
let
isNaN
=
(
maybeNaN
)
=>
maybeNaN
!=
maybeNaN
;
let
ensureNotNaN
=
(
text
,
defaultValue
=
0
)
=>
{
let
ensureNotNaN
=
(
text
,
defaultValue
=
0
)
=>
{
...
@@ -336,14 +336,14 @@ TCPanelInputEditor.prototype.closeEdition = function () {
...
@@ -336,14 +336,14 @@ TCPanelInputEditor.prototype.closeEdition = function () {
window
.
app
.
rekall
.
Rekall
(
'
pubSub
'
).
publish
(
'
tag.tc.updated
'
,
{
tag
:
this
.
tag
});
window
.
app
.
rekall
.
Rekall
(
'
pubSub
'
).
publish
(
'
tag.tc.updated
'
,
{
tag
:
this
.
tag
});
}
}
}
}
Panel
Input
Edit
or
.
prototype
.
closeEdition
.
call
(
this
);
PanelEdit
ion
.
prototype
.
closeEdition
.
call
(
this
);
}
}
function
CommentPanel
Input
Edit
or
(
data
)
{
function
Annotation
CommentPanelEdit
ion
(
data
)
{
Panel
Input
Edit
or
.
call
(
this
,
data
);
PanelEdit
ion
.
call
(
this
,
data
);
}
}
CommentPanel
Input
Edit
or
.
prototype
=
Object
.
create
(
Panel
Input
Edit
or
.
prototype
);
Annotation
CommentPanelEdit
ion
.
prototype
=
Object
.
create
(
PanelEdit
ion
.
prototype
);
CommentPanel
Input
Edit
or
.
prototype
.
appendInputEditorDiv
=
function
(
parentDiv
)
{
Annotation
CommentPanelEdit
ion
.
prototype
.
appendInputEditorDiv
=
function
(
parentDiv
)
{
let
that
=
this
;
let
that
=
this
;
this
.
readonlyDiv
=
$
(
'
<div>
'
);
this
.
readonlyDiv
=
$
(
'
<div>
'
);
this
.
readonlyDiv
.
addClass
(
'
popupRightItem
'
)
this
.
readonlyDiv
.
addClass
(
'
popupRightItem
'
)
...
@@ -381,7 +381,7 @@ CommentPanelInputEditor.prototype.appendInputEditorDiv = function (parentDiv) {
...
@@ -381,7 +381,7 @@ CommentPanelInputEditor.prototype.appendInputEditorDiv = function (parentDiv) {
parentDiv
.
append
(
this
.
editDiv
);
parentDiv
.
append
(
this
.
editDiv
);
}
}
}
}
CommentPanel
Input
Edit
or
.
prototype
.
closeEdition
=
function
()
{
Annotation
CommentPanelEdit
ion
.
prototype
.
closeEdition
=
function
()
{
if
(
this
.
canEdit
)
{
if
(
this
.
canEdit
)
{
let
newValue
=
this
.
editDiv
.
val
();
let
newValue
=
this
.
editDiv
.
val
();
this
.
editDiv
.
val
(
newValue
);
this
.
editDiv
.
val
(
newValue
);
...
@@ -400,14 +400,14 @@ CommentPanelInputEditor.prototype.closeEdition = function () {
...
@@ -400,14 +400,14 @@ CommentPanelInputEditor.prototype.closeEdition = function () {
this
.
readonlyDiv
.
html
(
'
+ Add an author
'
).
addClass
(
"
empty
"
);
this
.
readonlyDiv
.
html
(
'
+ Add an author
'
).
addClass
(
"
empty
"
);
}
}
}
}
Panel
Input
Edit
or
.
prototype
.
closeEdition
.
call
(
this
);
PanelEdit
ion
.
prototype
.
closeEdition
.
call
(
this
);
}
}
function
LinkPanel
Input
Edit
or
(
data
)
{
function
Annotation
LinkPanelEdit
ion
(
data
)
{
Panel
Input
Edit
or
.
call
(
this
,
data
);
PanelEdit
ion
.
call
(
this
,
data
);
}
}
LinkPanel
Input
Edit
or
.
prototype
=
Object
.
create
(
Panel
Input
Edit
or
.
prototype
);
Annotation
LinkPanelEdit
ion
.
prototype
=
Object
.
create
(
PanelEdit
ion
.
prototype
);
LinkPanel
Input
Edit
or
.
prototype
.
appendInputEditorDiv
=
function
(
parentDiv
)
{
Annotation
LinkPanelEdit
ion
.
prototype
.
appendInputEditorDiv
=
function
(
parentDiv
)
{
let
that
=
this
;
let
that
=
this
;
this
.
readonlyDiv
=
$
(
'
<div>
'
);
this
.
readonlyDiv
=
$
(
'
<div>
'
);
this
.
readonlyDiv
.
addClass
(
'
popupRightItem
'
)
this
.
readonlyDiv
.
addClass
(
'
popupRightItem
'
)
...
@@ -457,7 +457,7 @@ LinkPanelInputEditor.prototype.appendInputEditorDiv = function (parentDiv) {
...
@@ -457,7 +457,7 @@ LinkPanelInputEditor.prototype.appendInputEditorDiv = function (parentDiv) {
parentDiv
.
append
(
this
.
editDiv
);
parentDiv
.
append
(
this
.
editDiv
);
}
}
}
}
LinkPanel
Input
Edit
or
.
prototype
.
closeEdition
=
function
()
{
Annotation
LinkPanelEdit
ion
.
prototype
.
closeEdition
=
function
()
{
if
(
this
.
canEdit
)
{
if
(
this
.
canEdit
)
{
let
newValue
=
this
.
editDiv
.
val
();
let
newValue
=
this
.
editDiv
.
val
();
newValue
=
newValue
.
trim
();
newValue
=
newValue
.
trim
();
...
@@ -480,14 +480,14 @@ LinkPanelInputEditor.prototype.closeEdition = function () {
...
@@ -480,14 +480,14 @@ LinkPanelInputEditor.prototype.closeEdition = function () {
this
.
readonlyDiv
.
html
(
'
+ Add a Link
'
).
addClass
(
"
empty
"
);
this
.
readonlyDiv
.
html
(
'
+ Add a Link
'
).
addClass
(
"
empty
"
);
}
}
}
}
Panel
Input
Edit
or
.
prototype
.
closeEdition
.
call
(
this
);
PanelEdit
ion
.
prototype
.
closeEdition
.
call
(
this
);
}
}
function
SpeedPanel
Input
Edit
or
(
data
)
{
function
Annotation
SpeedPanelEdit
ion
(
data
)
{
Panel
Input
Edit
or
.
call
(
this
,
data
);
PanelEdit
ion
.
call
(
this
,
data
);
}
}
SpeedPanel
Input
Edit
or
.
prototype
=
Object
.
create
(
Panel
Input
Edit
or
.
prototype
);
Annotation
SpeedPanelEdit
ion
.
prototype
=
Object
.
create
(
PanelEdit
ion
.
prototype
);
SpeedPanel
Input
Edit
or
.
prototype
.
appendInputEditorDiv
=
function
(
parentDiv
)
{
Annotation
SpeedPanelEdit
ion
.
prototype
.
appendInputEditorDiv
=
function
(
parentDiv
)
{
let
that
=
this
;
let
that
=
this
;
this
.
readonlyDiv
=
$
(
'
<form>
'
);
this
.
readonlyDiv
=
$
(
'
<form>
'
);
this
.
readonlyDiv
.
addClass
(
'
popupRightItem
'
)
this
.
readonlyDiv
.
addClass
(
'
popupRightItem
'
)
...
@@ -625,7 +625,7 @@ SpeedPanelInputEditor.prototype.appendInputEditorDiv = function (parentDiv) {
...
@@ -625,7 +625,7 @@ SpeedPanelInputEditor.prototype.appendInputEditorDiv = function (parentDiv) {
parentDiv
.
append
(
this
.
readonlyDiv
);
parentDiv
.
append
(
this
.
readonlyDiv
);
}
}
SpeedPanel
Input
Edit
or
.
prototype
.
closeEdition
=
function
()
{
Annotation
SpeedPanelEdit
ion
.
prototype
.
closeEdition
=
function
()
{
if
(
this
.
canEdit
)
{
if
(
this
.
canEdit
)
{
let
newValue
=
this
.
readonlyDiv
.
children
(
'
input:checked
'
).
val
();
let
newValue
=
this
.
readonlyDiv
.
children
(
'
input:checked
'
).
val
();
if
(
this
.
tag
.
getMetadata
(
'
Rekall->Speed
'
)
!==
newValue
)
{
if
(
this
.
tag
.
getMetadata
(
'
Rekall->Speed
'
)
!==
newValue
)
{
...
@@ -637,20 +637,20 @@ SpeedPanelInputEditor.prototype.closeEdition = function () {
...
@@ -637,20 +637,20 @@ SpeedPanelInputEditor.prototype.closeEdition = function () {
}
}
}
}
}
}
SpeedPanel
Input
Edit
or
.
prototype
.
openEdition
=
function
()
{
Annotation
SpeedPanelEdit
ion
.
prototype
.
openEdition
=
function
()
{
this
.
popupPanelWidget
.
ensureLastOpenedEditionClosed
();
this
.
popupPanelWidget
.
ensureLastOpenedEditionClosed
();
if
(
this
.
canEdit
)
{
if
(
this
.
canEdit
)
{
this
.
popupPanelWidget
.
setCurrentOpenedInput
(
this
);
this
.
popupPanelWidget
.
setCurrentOpenedInput
(
this
);
}
}
}
}
function
TagPanel
Input
Edit
or
(
data
)
{
function
Annotation
TagPanelEdit
ion
(
data
)
{
Panel
Input
Edit
or
.
call
(
this
,
data
);
PanelEdit
ion
.
call
(
this
,
data
);
this
.
annotationInputTemplate
=
$
(
'
<input class="" type="checkbox" id="" value="">
'
)
this
.
annotationInputTemplate
=
$
(
'
<input class="" type="checkbox" id="" value="">
'
)
this
.
annotationLabelTemplate
=
$
(
'
<label class="" for=""></label>
'
)
this
.
annotationLabelTemplate
=
$
(
'
<label class="" for=""></label>
'
)
}
}
TagPanel
Input
Edit
or
.
prototype
=
Object
.
create
(
Panel
Input
Edit
or
.
prototype
);
Annotation
TagPanelEdit
ion
.
prototype
=
Object
.
create
(
PanelEdit
ion
.
prototype
);
TagPanel
Input
Edit
or
.
prototype
.
appendInputEditorDiv
=
function
(
parentDiv
)
{
Annotation
TagPanelEdit
ion
.
prototype
.
appendInputEditorDiv
=
function
(
parentDiv
)
{
let
that
=
this
;
let
that
=
this
;
function
getLabelArray
(
tag
)
{
function
getLabelArray
(
tag
)
{
...
@@ -738,7 +738,7 @@ TagPanelInputEditor.prototype.appendInputEditorDiv = function (parentDiv) {
...
@@ -738,7 +738,7 @@ TagPanelInputEditor.prototype.appendInputEditorDiv = function (parentDiv) {
}
}
parentDiv
.
append
(
this
.
readonlyDiv
);
parentDiv
.
append
(
this
.
readonlyDiv
);
}
}
TagPanel
Input
Edit
or
.
prototype
.
save
=
function
()
{
Annotation
TagPanelEdit
ion
.
prototype
.
save
=
function
()
{
if
(
this
.
canEdit
)
{
if
(
this
.
canEdit
)
{
let
newValue
=
''
;
let
newValue
=
''
;
this
.
readonlyDiv
this
.
readonlyDiv
...
@@ -759,12 +759,12 @@ TagPanelInputEditor.prototype.save = function () {
...
@@ -759,12 +759,12 @@ TagPanelInputEditor.prototype.save = function () {
}
}
}
}
}
}
TagPanel
Input
Edit
or
.
prototype
.
closeEdition
=
function
()
{
Annotation
TagPanelEdit
ion
.
prototype
.
closeEdition
=
function
()
{
if
(
this
!==
this
.
popupPanelWidget
.
getCurrentOpenedInput
())
if
(
this
!==
this
.
popupPanelWidget
.
getCurrentOpenedInput
())
this
.
popupPanelWidget
.
ensureLastOpenedEditionClosed
();
this
.
popupPanelWidget
.
ensureLastOpenedEditionClosed
();
this
.
save
();
this
.
save
();
}
}
TagPanel
Input
Edit
or
.
prototype
.
openEdition
=
function
()
{
Annotation
TagPanelEdit
ion
.
prototype
.
openEdition
=
function
()
{
if
(
this
!==
this
.
popupPanelWidget
.
getCurrentOpenedInput
())
{
if
(
this
!==
this
.
popupPanelWidget
.
getCurrentOpenedInput
())
{
this
.
popupPanelWidget
.
ensureLastOpenedEditionClosed
();
this
.
popupPanelWidget
.
ensureLastOpenedEditionClosed
();
if
(
this
.
canEdit
)
{
if
(
this
.
canEdit
)
{
...
@@ -946,25 +946,25 @@ PopupPanelWidget.prototype.createPopupContent = function (tag) {
...
@@ -946,25 +946,25 @@ PopupPanelWidget.prototype.createPopupContent = function (tag) {
})
})
popupRightTd
.
append
(
closePopupDiv
);
popupRightTd
.
append
(
closePopupDiv
);
let
projectNameInput
=
new
AnnotationNamePanel
Input
Edit
or
(
commonDataForPanels
)
let
projectNameInput
=
new
AnnotationNamePanelEdit
ion
(
commonDataForPanels
)
projectNameInput
.
appendInputEditorDiv
(
popupRightTd
);
projectNameInput
.
appendInputEditorDiv
(
popupRightTd
);
let
projectAuthorInput
=
new
AuthorPanel
Input
Edit
or
(
commonDataForPanels
);
let
projectAuthorInput
=
new
Annotation
AuthorPanelEdit
ion
(
commonDataForPanels
);
projectAuthorInput
.
appendInputEditorDiv
(
popupRightTd
);
projectAuthorInput
.
appendInputEditorDiv
(
popupRightTd
);
let
tcInput
=
new
TCPanel
Input
Edit
or
(
commonDataForPanels
);
let
tcInput
=
new
Annotation
TCPanelEdit
ion
(
commonDataForPanels
);
tcInput
.
appendInputEditorDiv
(
popupRightTd
);
tcInput
.
appendInputEditorDiv
(
popupRightTd
);
let
commentPanel
=
new
CommentPanel
Input
Edit
or
(
commonDataForPanels
);
let
commentPanel
=
new
Annotation
CommentPanelEdit
ion
(
commonDataForPanels
);
commentPanel
.
appendInputEditorDiv
(
popupRightTd
);
commentPanel
.
appendInputEditorDiv
(
popupRightTd
);
let
linkPanel
=
new
LinkPanel
Input
Edit
or
(
commonDataForPanels
);
let
linkPanel
=
new
Annotation
LinkPanelEdit
ion
(
commonDataForPanels
);
linkPanel
.
appendInputEditorDiv
(
popupRightTd
);
linkPanel
.
appendInputEditorDiv
(
popupRightTd
);
let
speedPanel
=
new
SpeedPanel
Input
Edit
or
(
commonDataForPanels
);
let
speedPanel
=
new
Annotation
SpeedPanelEdit
ion
(
commonDataForPanels
);
speedPanel
.
appendInputEditorDiv
(
popupRightTd
);
speedPanel
.
appendInputEditorDiv
(
popupRightTd
);
let
tagPanel
=
new
TagPanel
Input
Edit
or
(
commonDataForPanels
);
let
tagPanel
=
new
Annotation
TagPanelEdit
ion
(
commonDataForPanels
);
tagPanel
.
appendInputEditorDiv
(
popupRightTd
);
tagPanel
.
appendInputEditorDiv
(
popupRightTd
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment