Commit d54d3266 authored by José Luis Uc's avatar José Luis Uc

Arreglado bug con firefox

parent cc771de1
...@@ -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))
......
...@@ -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();
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment