mirror of
https://framagit.org/tom79/fediplan.git
synced 2025-04-06 06:01:50 +02:00
Some fixes
This commit is contained in:
parent
07f01ee504
commit
dfc9e54a1e
3 changed files with 4 additions and 3 deletions
|
@ -61,6 +61,8 @@
|
||||||
{% block javascripts %}
|
{% block javascripts %}
|
||||||
<script src="{{ asset('js/jquery.min.js') }}"></script>
|
<script src="{{ asset('js/jquery.min.js') }}"></script>
|
||||||
<script src="{{ asset('js/bootstrap.min.js') }}"></script>
|
<script src="{{ asset('js/bootstrap.min.js') }}"></script>
|
||||||
|
<script src="{{ asset('bundles/fosjsrouting/js/router.min.js') }}"></script>
|
||||||
|
<script src="{{ path('fos_js_routing_js', { callback: 'fos.Router.setData' }) }}"></script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
|
@ -456,12 +456,12 @@
|
||||||
var id = $(this).attr('data-id');
|
var id = $(this).attr('data-id');
|
||||||
$('#media_container_' + id).remove();
|
$('#media_container_' + id).remove();
|
||||||
})
|
})
|
||||||
var language = navigator.languages && navigator.languages[0] ||
|
/*var language = navigator.languages && navigator.languages[0] ||
|
||||||
navigator.language ||
|
navigator.language ||
|
||||||
navigator.userLanguage;
|
navigator.userLanguage;
|
||||||
var format = 'YYYY/MM/DD HH:mm:ss ZZ';
|
var format = 'YYYY/MM/DD HH:mm:ss ZZ';
|
||||||
moment(time, format).tz(zone).format(format);
|
moment(time, format).tz(zone).format(format);
|
||||||
var currentDate = new Date().toLocaleString(language, { timeZone: timezone })
|
var currentDate = new Date().toLocaleString(language, { timeZone: timezone })*/
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -65,7 +65,6 @@
|
||||||
.done(function(data) {
|
.done(function(data) {
|
||||||
$("#content").append(data.html);
|
$("#content").append(data.html);
|
||||||
$('#loader').addClass("d-none");
|
$('#loader').addClass("d-none");
|
||||||
console.log( data);
|
|
||||||
if( typeof data.html != "undefined" && data.html != "") {
|
if( typeof data.html != "undefined" && data.html != "") {
|
||||||
// $("#no_content").addClass("d-none");
|
// $("#no_content").addClass("d-none");
|
||||||
}else{
|
}else{
|
||||||
|
|
Loading…
Add table
Reference in a new issue