Some fixes

This commit is contained in:
Thomas 2019-08-11 18:35:17 +02:00
parent 07f01ee504
commit dfc9e54a1e
3 changed files with 4 additions and 3 deletions

View file

@ -61,6 +61,8 @@
{% block javascripts %}
<script src="{{ asset('js/jquery.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 %}
</body>
</html>

View file

@ -456,12 +456,12 @@
var id = $(this).attr('data-id');
$('#media_container_' + id).remove();
})
var language = navigator.languages && navigator.languages[0] ||
/*var language = navigator.languages && navigator.languages[0] ||
navigator.language ||
navigator.userLanguage;
var format = 'YYYY/MM/DD HH:mm:ss ZZ';
moment(time, format).tz(zone).format(format);
var currentDate = new Date().toLocaleString(language, { timeZone: timezone })
var currentDate = new Date().toLocaleString(language, { timeZone: timezone })*/
});
</script>
{% endblock %}

View file

@ -65,7 +65,6 @@
.done(function(data) {
$("#content").append(data.html);
$('#loader').addClass("d-none");
console.log( data);
if( typeof data.html != "undefined" && data.html != "") {
// $("#no_content").addClass("d-none");
}else{