Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
third-party
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
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
cooperatic-foodcoops
third-party
Commits
7af15e88
Commit
7af15e88
authored
Mar 11, 2022
by
Etienne Freiss
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
3ecb4014
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
members-space-shifts-exchange.js
members_space/static/js/members-space-shifts-exchange.js
+3
-2
No files found.
members_space/static/js/members-space-shifts-exchange.js
View file @
7af15e88
...
@@ -725,7 +725,8 @@ function init_delete_registration_buttons() {
...
@@ -725,7 +725,8 @@ function init_delete_registration_buttons() {
$
(
".delete_registration_button"
).
off
();
$
(
".delete_registration_button"
).
off
();
$
(
".delete_registration_button"
).
on
(
"click"
,
function
()
{
$
(
".delete_registration_button"
).
on
(
"click"
,
function
()
{
let
shift_name
=
$
(
this
).
closest
(
"div"
)
let
shift_name
=
$
(
this
).
closest
(
"div"
)
.
siblings
(
".selectable_shift_line"
)
.
parent
().
parent
()
.
find
(
".shift_line_date"
)
.
text
()
.
text
()
.
trim
();
.
trim
();
let
shift_id
=
$
(
this
).
closest
(
".shift_line_container"
)
let
shift_id
=
$
(
this
).
closest
(
".shift_line_container"
)
...
@@ -733,7 +734,7 @@ function init_delete_registration_buttons() {
...
@@ -733,7 +734,7 @@ function init_delete_registration_buttons() {
.
split
(
'_'
)[
2
];
.
split
(
'_'
)[
2
];
openModal
(
openModal
(
`<p>Je m'apprête supprimer ma présence au service du <b>
${
shift_name
}
</b></p>`
,
`<p>Je m'apprête
à
supprimer ma présence au service du <b>
${
shift_name
}
</b></p>`
,
()
=>
{
()
=>
{
delete_shift_registration
(
shift_id
);
delete_shift_registration
(
shift_id
);
},
},
...
...
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