0.0.152
This commit is contained in:
@@ -40,6 +40,11 @@
|
|||||||
// }
|
// }
|
||||||
|
|
||||||
// var i = 0
|
// var i = 0
|
||||||
|
import "chat_socket_functions/inital_old_tab.js"
|
||||||
|
import "chat_socket_functions/etc_operations_for_chat_socket.js"
|
||||||
|
import "chat_socket_functions/update_messenger.js"
|
||||||
|
import "chat_socket_functions/update_tickets_operations_manager.js"
|
||||||
|
//
|
||||||
const chatSocket = new WebSocket(ws_url);
|
const chatSocket = new WebSocket(ws_url);
|
||||||
|
|
||||||
|
|
||||||
@@ -55,7 +60,7 @@ function sendMessageSocket (data) {
|
|||||||
|
|
||||||
|
|
||||||
chatSocket.onmessage = function (e) {
|
chatSocket.onmessage = function (e) {
|
||||||
let old_item_tab_user = inital_old_tab()
|
inital_old_tab()
|
||||||
let data = JSON.parse(e.data);
|
let data = JSON.parse(e.data);
|
||||||
console.log('Data:', data);
|
console.log('Data:', data);
|
||||||
console.log("return")
|
console.log("return")
|
||||||
|
|||||||
@@ -39,8 +39,10 @@ function inital_slider (){
|
|||||||
// validate
|
// validate
|
||||||
if (val < min) {
|
if (val < min) {
|
||||||
val = min;
|
val = min;
|
||||||
|
$inputFrom[0].value = val
|
||||||
} else if (val > to) {
|
} else if (val > to) {
|
||||||
val = to;
|
val = to;
|
||||||
|
$inputFrom[0].value = val
|
||||||
}
|
}
|
||||||
|
|
||||||
instance.update({
|
instance.update({
|
||||||
@@ -54,12 +56,14 @@ function inital_slider (){
|
|||||||
// validate
|
// validate
|
||||||
if (val < from) {
|
if (val < from) {
|
||||||
val = from;
|
val = from;
|
||||||
|
$inputTo[0].value = val
|
||||||
} else if (val > max) {
|
} else if (val > max) {
|
||||||
val = max;
|
val = max;
|
||||||
|
$inputTo[0].value = val
|
||||||
}
|
}
|
||||||
|
|
||||||
instance.update({
|
instance.update({
|
||||||
to: val
|
to: val
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,10 @@
|
|||||||
{# <script src="{% static "js/serch_town.js" %}"></script>#}
|
{# <script src="{% static "js/serch_town.js" %}"></script>#}
|
||||||
<script src="{% static "js/user_profile.js" %}"></script>
|
<script src="{% static "js/user_profile.js" %}"></script>
|
||||||
<script src="{% static "js/user_profile(boris).js" %}"></script>
|
<script src="{% static "js/user_profile(boris).js" %}"></script>
|
||||||
<script src="{% static "js/range_slider_double.js" %}"></script>
|
<script src="{% static "js/chat_socket_functions/etc_operations_for_chat_socket.js" %}"></script>
|
||||||
|
<script src="{% static "js/chat_socket_functions/inital_old_tab.js" %}"></script>
|
||||||
|
<script src="{% static "js/chat_socket_functions/update_messenger.js" %}"></script>
|
||||||
|
<script src="{% static "js/chat_socket_functions/update_tickets_operations_manager.js" %}"></script>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user