Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
GeoInt_SIDT
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mario Chirinos Colunga
GeoInt_SIDT
Commits
d54d3266
Commit
d54d3266
authored
May 16, 2019
by
José Luis Uc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Arreglado bug con firefox
parent
cc771de1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
forms.py
catalog/forms.py
+1
-1
map.html
catalog/templates/map.html
+2
-1
No files found.
catalog/forms.py
View file @
d54d3266
...
@@ -12,7 +12,7 @@ from .widgets import FengyuanChenDatePickerInput
...
@@ -12,7 +12,7 @@ from .widgets import FengyuanChenDatePickerInput
all_process
=
Process
.
objects
.
filter
(
status
=
True
)
all_process
=
Process
.
objects
.
filter
(
status
=
True
)
platforms
=
[]
platforms
=
[
[
-
1
,
'Select the search process'
]
]
for
each_process
in
all_process
:
for
each_process
in
all_process
:
platforms
.
append
((
each_process
.
id
,
each_process
.
name
))
platforms
.
append
((
each_process
.
id
,
each_process
.
name
))
...
...
catalog/templates/map.html
View file @
d54d3266
...
@@ -373,7 +373,8 @@
...
@@ -373,7 +373,8 @@
</script>
</script>
<script>
<script>
$
(
'#id_platform'
).
click
(
function
()
{
$
(
'#id_platform option:first'
).
attr
({
selected
:
'selected'
,
disabled
:
'disabled'
,
hidden
:
'hidden'
});
$
(
'#id_platform'
).
change
(
function
()
{
let
dateTreeview
=
$
(
'li.dateTreeview a'
);
let
dateTreeview
=
$
(
'li.dateTreeview a'
);
dateTreeview
.
click
();
dateTreeview
.
click
();
});
});
...
...
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