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
27d8f0ea
Verified
Commit
27d8f0ea
authored
Feb 27, 2019
by
Alexandre Goldstein
Browse files
Empty description + reference fields in modal
parent
122f5406
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/presentation/maarchRM/Resources/view/recordsManagement/archive/modalModification.html
View file @
27d8f0ea
...
...
@@ -34,7 +34,7 @@
</div>
</div>
<div
class=
"modal-footer"
data-translate-catalog=
"recordsManagement/messages"
>
<button
class=
"btn btn-warning"
data-dismiss=
"modal"
title=
"Cancel"
><i
class=
"fa fa-times"
>
</i>
Cancel
</button>
<button
id=
"cancelEdit"
class=
"btn btn-warning"
data-dismiss=
"modal"
title=
"Cancel"
><i
class=
"fa fa-times"
>
</i>
Cancel
</button>
<button
id=
"save"
class=
"btn btn-success"
data-archiveIds=
""
title=
"Save"
><i
class=
"fa fa-check"
>
</i>
OK
</button>
</div>
</div>
...
...
@@ -65,6 +65,11 @@
</style>
<script>
// empty description / reference fields when the user press cancel
$
(
"
#cancelEdit
"
).
on
(
'
click
'
,
function
()
{
ModificationModal
.
modal
.
find
(
'
input, textarea
'
).
val
(
''
);
});
$
(
"
#accessRuleCode
"
).
on
(
'
change
'
,
function
()
{
ModificationModal
.
loadAccessCode
();
});
...
...
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