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
e180c8f7
Commit
e180c8f7
authored
Nov 18, 2022
by
François C.
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#3784 : Fix change shift template icon click bug
parent
58641451
Pipeline
#2516
passed with stage
in 1 minute 28 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
members-space.css
members_space/static/css/members-space.css
+4
-0
members-space-home.js
members_space/static/js/members-space-home.js
+5
-6
No files found.
members_space/static/css/members-space.css
View file @
e180c8f7
...
...
@@ -12,6 +12,10 @@ body {
}
}
/* -- Calendar */
#shift_choice
.shift
{
padding-left
:
5px
;
}
/* -- Tiles */
.tiles_container
{
...
...
members_space/static/js/members-space-home.js
View file @
e180c8f7
...
...
@@ -96,11 +96,9 @@ function process_asked_shift_template_change(shift_t_id) {
function
edit_shift_template_registration
()
{
const
calendar_params
=
{
external
:
true
,
without_modal
:
true
,
shift_listener
:
true
};
if
(
calendar
==
null
)
calendar
=
$
(
'#modal-calendar-choice'
).
clone
();
if
(
$
(
'#modal-calendar-choice'
).
html
().
length
>
0
)
{
$
(
'#modal-calendar-choice'
).
empty
();
}
$
(
'#modal-calendar-choice tbody'
).
empty
();
calendar
=
$
(
'#modal-calendar-choice'
).
clone
();
calendar
.
find
(
'.oddeven_selector'
).
empty
();
displayMsg
(
calendar
.
html
());
$
(
'#week_types'
).
find
(
'input'
)
...
...
@@ -129,7 +127,8 @@ function init_home() {
goto
(
'faq'
);
});
$
(
".member_shift_name_area"
).
on
(
"click"
,
".fa-edit"
,
(
e
)
=>
{
$
(
document
).
off
(
"click.change_shift_reg"
);
$
(
document
).
on
(
"click.change_shift_reg"
,
".member_shift_name_area .fa-edit"
,
(
e
)
=>
{
$
(
'#week_types'
).
find
(
'input'
)
.
change
(
filter_weeks
);
e
.
preventDefault
();
...
...
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