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
8b93aa91
Commit
8b93aa91
authored
Apr 15, 2022
by
Félicie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add more
parent
7a0084b8
Pipeline
#2121
passed with stage
in 1 minute 39 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
inscriptions.js
members/static/js/inscriptions.js
+5
-2
No files found.
members/static/js/inscriptions.js
View file @
8b93aa91
...
@@ -126,6 +126,7 @@ function create_new_coop() {
...
@@ -126,6 +126,7 @@ function create_new_coop() {
$
(
'.chosen_associate'
).
html
(
""
);
$
(
'.chosen_associate'
).
html
(
""
);
$
(
'.chosen_associate_area'
).
hide
();
$
(
'.chosen_associate_area'
).
hide
();
$
(
'.member_choice'
).
removeClass
(
'choice_active'
);
$
(
'.member_choice'
).
removeClass
(
'choice_active'
);
$
(
".remove_binome_icon"
).
on
(
"click"
,
hide_chosen_associate
)
local_in_process
=
getLocalInProcess
();
local_in_process
=
getLocalInProcess
();
if
(
getLocalInProcess
().
length
>
0
)
{
if
(
getLocalInProcess
().
length
>
0
)
{
empty_waiting_local_processes
();
empty_waiting_local_processes
();
...
@@ -360,11 +361,11 @@ function modify_current_coop() {
...
@@ -360,11 +361,11 @@ function modify_current_coop() {
$
(
'#new_member_choice_action'
).
hide
();
$
(
'#new_member_choice_action'
).
hide
();
$
(
'#existing_member_choice'
).
addClass
(
'choice_active'
);
$
(
'#existing_member_choice'
).
addClass
(
'choice_active'
);
var
member_button
=
'<div>'
+
current_coop
.
parent_name
+
'</div>'
;
var
member_button
=
'<div>'
+
current_coop
.
parent_name
+
'</div>'
;
$
(
'.chosen_associate'
).
html
(
member_button
);
$
(
'.chosen_associate_area'
).
show
();
$
(
'.chosen_associate_area'
).
show
();
associated_old_choice
=
'existing_member_choice'
;
associated_old_choice
=
'existing_member_choice'
;
$
(
".remove_binome_icon"
).
on
(
"click"
,
hide_chosen_associate
)
}
else
{
}
else
{
$
(
'#new_member_choice_action'
).
show
();
$
(
'#new_member_choice_action'
).
show
();
...
@@ -386,7 +387,9 @@ function modify_current_coop() {
...
@@ -386,7 +387,9 @@ function modify_current_coop() {
}
}
function
hide_chosen_associate
()
{
function
hide_chosen_associate
()
{
selected_associate
=
null
;
$
(
".chosen_associate_area"
).
hide
();
$
(
".chosen_associate_area"
).
hide
();
$
(
'.chosen_associate'
).
html
(
""
);
}
}
function
modify_coop_by_btn_triggered
()
{
function
modify_coop_by_btn_triggered
()
{
...
...
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