Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Maarch
maarchRM
Commits
72a28c54
Verified
Commit
72a28c54
authored
Jul 02, 2018
by
Alexandre Morin
Browse files
Fix: Delete typeahead
parent
2153f21a
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/presentation/maarchRM/Resources/view/recordsManagement/archive/archiveModificationModal/requestCommunication.html
View file @
72a28c54
...
...
@@ -4,7 +4,7 @@
parameter
.
derogation
=
0
;
if
(
$
(
'
#derogationTr
'
).
is
(
'
:visible
'
)
&&
$
(
"
#derogationTr [name='sendDerogation']
"
).
is
(
'
:checked
'
))
{
if
(
$
(
"
#derogation
Typeahead
"
).
val
().
length
!==
0
)
{
if
(
$
(
"
#derogation
Input
"
).
val
().
length
!==
0
)
{
parameter
.
derogation
=
1
;
}
else
{
gritter
.
show
(
$
(
'
#empty_text
'
).
html
(),
false
);
...
...
src/presentation/maarchRM/Resources/view/recordsManagement/archive/modalModification.html
View file @
72a28c54
...
...
@@ -124,10 +124,10 @@
if
(
type
===
'
requestCommunication
'
&&
$
(
'
#
'
+
archiveId
).
data
(
'
iscommunicable
'
)
===
1
)
{
$
(
'
#derogationTr
'
).
show
();
$
(
'
#derogation
Typeahead
Tr
'
).
show
();
$
(
'
#derogation
Input
Tr
'
).
show
();
}
else
{
$
(
'
#derogationTr
'
).
hide
();
$
(
'
#derogation
Typeahead
Tr
'
).
hide
();
$
(
'
#derogation
Input
Tr
'
).
hide
();
}
$
(
'
#save
'
).
data
(
"
archiveids
"
,
""
);
...
...
Write
Preview
Supports
Markdown
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