This commit is contained in:
Ross
2021-11-30 17:55:27 +00:00
parent a573541131
commit 006b057d3b
3 changed files with 6 additions and 4 deletions
+4 -1
View File
@@ -788,6 +788,8 @@ input {
}
.temp-thumb-large {
width: 1000px;
height: 1000px;
@@ -796,4 +798,5 @@ input {
.image-duplicate {
border: 2px solid orange;
}
}
+1 -2
View File
@@ -2,11 +2,10 @@
<!-- {% load static from static %} -->
{% block css %}
{{form.media}}
{% endblock %}
{% block js %}
<!--<script type="text/javascript" src="/admin/jsi18n/"></script>-->
{{form.media}}
<script type="text/javascript">
function showEditPopup(url) {
var win = window.open(url, "Edit",
+1 -1
View File
@@ -574,7 +574,7 @@ class ConditionAutocomplete(autocomplete.Select2QuerySetView):
if self.q:
# This raises a fielderror which breaks creating a new item if not caught
try:
qs = qs.filter(name__istartswith=self.q)
qs = qs.filter(name__icontains=self.q)
except FieldError:
return Condition.objects.none()