Commit 8202c2de by Kim Peace

Fixed not to response 0 selected on create room

parent 8d05e556
...@@ -139,6 +139,9 @@ ChatMakeRoom.renderUser = function (url, userList) { ...@@ -139,6 +139,9 @@ ChatMakeRoom.renderUser = function (url, userList) {
$("#makeRoomConfirmBtn").on("click", function (e) { $("#makeRoomConfirmBtn").on("click", function (e) {
const selectedUserList = ChatManagementCommon.selectedUserList.join(","); const selectedUserList = ChatManagementCommon.selectedUserList.join(",");
if (selectedUserList.length == 0) {
return;
}
NativeBridgeDelegate.saveSelectedUserList(selectedUserList); NativeBridgeDelegate.saveSelectedUserList(selectedUserList);
$("#makeRoomForm").submit(); $("#makeRoomForm").submit();
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment