[mirotalksfu] - fix typo
هذا الالتزام موجود في:
@@ -1957,6 +1957,7 @@ function handleButtons() {
|
|||||||
};
|
};
|
||||||
notifyEmailCleanBtn.onclick = () => {
|
notifyEmailCleanBtn.onclick = () => {
|
||||||
rc.cleanNotifications();
|
rc.cleanNotifications();
|
||||||
|
rc.saveNotifications(false);
|
||||||
};
|
};
|
||||||
saveNotificationsBtn.onclick = () => {
|
saveNotificationsBtn.onclick = () => {
|
||||||
rc.saveNotifications();
|
rc.saveNotifications();
|
||||||
|
|||||||
@@ -10670,6 +10670,7 @@ class RoomClient {
|
|||||||
cleanNotifications() {
|
cleanNotifications() {
|
||||||
getId('notifyEmailInput').value = '';
|
getId('notifyEmailInput').value = '';
|
||||||
getId('switchNotifyUserJoin').checked = false;
|
getId('switchNotifyUserJoin').checked = false;
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
saveNotifications(validate = true) {
|
saveNotifications(validate = true) {
|
||||||
@@ -10684,12 +10685,9 @@ class RoomClient {
|
|||||||
|
|
||||||
setNotificationsData(data) {
|
setNotificationsData(data) {
|
||||||
this.socket.emit('updateRoomNotifications', data, (response) => {
|
this.socket.emit('updateRoomNotifications', data, (response) => {
|
||||||
if (response.error) {
|
response.error
|
||||||
this.cleanNotifications();
|
? this.cleanNotifications() && this.userLog('warning', response.error, 'top-end', 6000)
|
||||||
this.userLog('warning', response.error, 'top-end', 6000);
|
: this.roomMessage('save_room_notifications', true);
|
||||||
} else {
|
|
||||||
this.roomMessage('save_room_notifications', true);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم