mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
remove this.selectUsers repeated
This commit is contained in:
@ -14,7 +14,7 @@ class MessagePage {
|
||||
this.formNewDirectMessage = this.modalNewMessage.item.find("#formNewDirectMessage")
|
||||
this.alert = new Alert($("#alertDirectMessage"))
|
||||
this.selectUsers = $("#select-users")
|
||||
this.selectUsers = $("#select-departments")
|
||||
this.selectDepartments = $("#select-departments")
|
||||
|
||||
this.selectPlaceholder = {
|
||||
id: '0',
|
||||
@ -25,7 +25,7 @@ class MessagePage {
|
||||
text: "Seleccione un departamento"
|
||||
}
|
||||
this.selectMessageUsers = new ClassSelect(this.selectUsers, '/chat/users/all', this.selectPlaceholder, true)
|
||||
this.selectChatDepartment = new ClassSelect(this.selectUsers, '/chat/department/select', this.selectDepartmentPlaceholder, true)
|
||||
this.selectChatDepartment = new ClassSelect(this.selectDepartments, '/chat/department/select', this.selectDepartmentPlaceholder, true)
|
||||
|
||||
}
|
||||
init() {
|
||||
|
||||
Reference in New Issue
Block a user