mirror of
https://framagit.org/tom79/fediplan.git
synced 2025-04-05 13:41:51 +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 %}
|
||||
<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>
|
|
@ -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 %}
|
||||
|
|
|
@ -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{
|
||||
|
|
Loading…
Add table
Reference in a new issue