Bugs vorbereitet
This commit is contained in:
parent
804414ca25
commit
41d32d7afe
|
|
@ -355,6 +355,7 @@ function prevMonth(){
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function nextMonth(){
|
function nextMonth(){
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "GET",
|
type: "GET",
|
||||||
|
|
@ -372,9 +373,10 @@ function nextMonth(){
|
||||||
$("#overlay").fadeOut();
|
$("#overlay").fadeOut();
|
||||||
$("#rendered_table").html(data)
|
$("#rendered_table").html(data)
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
var selectedElements = [];
|
var selectedElements = [];
|
||||||
var active_row = "";
|
var active_row = "";
|
||||||
var sameday = false;
|
var sameday = false;
|
||||||
|
|
|
||||||
|
|
@ -514,10 +514,11 @@ function loaddjango(){
|
||||||
activemonth : {{activemonth}}
|
activemonth : {{activemonth}}
|
||||||
},
|
},
|
||||||
beforeSend: function(request) {
|
beforeSend: function(request) {
|
||||||
request.setRequestHeader("X-Requested-With", "XMLHttpRequest");
|
// TODO: Muss die nächste Zeile auskommentiert sein oder nicht? Hier einmal LIVE testen
|
||||||
|
//request.setRequestHeader("X-Requested-With", "XMLHttpRequest");
|
||||||
},
|
},
|
||||||
success : function(data){
|
success : function(data){
|
||||||
$("#rendered_table").html(data)
|
$("#rendered_table").html(data);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,9 +6,9 @@
|
||||||
<small>Haben Sie schon in unserem <a href="https://digitale-agentur.com/" target="_blank">Wiki</a> nachgesehen? Dort finden Sie viele Tipps und Anregungen!</small>
|
<small>Haben Sie schon in unserem <a href="https://digitale-agentur.com/" target="_blank">Wiki</a> nachgesehen? Dort finden Sie viele Tipps und Anregungen!</small>
|
||||||
<hr>
|
<hr>
|
||||||
<form method="POST" enctype="multipart/form-data">
|
<form method="POST" enctype="multipart/form-data">
|
||||||
|
<!-- TODO: Hier ein Modal oä einbauen, damit der Request in Ruhe durchlaufen kann und keine Tickets doppelt verschickt werden. Der JSON-Request dauert so lange, daher könnten Nutzer mehrere Tickets verschicken -->
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
{{form|crispy}}
|
{{form|crispy}}
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<button type="submit" class="btn btn-primary">Supportanfrage verschicken</button>
|
<button type="submit" class="btn btn-primary">Supportanfrage verschicken</button>
|
||||||
<a href="{% url 'users-dashboard' %}" class="btn">Abbrechen</a>
|
<a href="{% url 'users-dashboard' %}" class="btn">Abbrechen</a>
|
||||||
|
|
@ -25,9 +25,4 @@
|
||||||
});
|
});
|
||||||
});*/
|
});*/
|
||||||
</script>
|
</script>
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
<!--
|
|
||||||
|
|
||||||
TASK: Hier dann das DropDown noch einbinden warhscheinlich, wenn es nicht im Form gelandet ist?
|
|
||||||
|
|
||||||
-->
|
|
||||||
Loading…
Reference in New Issue