Commit ce69af2e by Lee Munkyeong

remove log

parent 5f1420ea
...@@ -16,7 +16,6 @@ CHAT_DB.getRoomList = function(roomType) { ...@@ -16,7 +16,6 @@ CHAT_DB.getRoomList = function(roomType) {
CHAT_DB.getMyInfo = function(input) { CHAT_DB.getMyInfo = function(input) {
var result = JSON.parse(android.getMyInfo()); var result = JSON.parse(android.getMyInfo());
CHAT.globalLoginParameter.shopMemberId = result.shopMemberId; CHAT.globalLoginParameter.shopMemberId = result.shopMemberId;
console.log(CHAT.globalLoginParameter.shopMemberId);
if (CHAT_UTIL.isIOS()) { if (CHAT_UTIL.isIOS()) {
//TODO IOS処理追加必要 //TODO IOS処理追加必要
} else if (CHAT_UTIL.isAndroid()) { } else if (CHAT_UTIL.isAndroid()) {
......
...@@ -958,13 +958,11 @@ CHAT_UI.refreshGroupSearch = function(groupId, isInvite) { ...@@ -958,13 +958,11 @@ CHAT_UI.refreshGroupSearch = function(groupId, isInvite) {
$('#groupPathArea').html(''); $('#groupPathArea').html('');
if (typeof result.parentGroupId !== 'undefined') { if (typeof result.parentGroupId !== 'undefined') {
console.log(result.parentGroupId);
$('#parentGroupBtn').on('click', function() { $('#parentGroupBtn').on('click', function() {
CHAT_UI.refreshGroupSearch(result.parentGroupId, isInvite); CHAT_UI.refreshGroupSearch(result.parentGroupId, isInvite);
}); });
} }
if (typeof result.rootGroupId !== 'undefined') { if (typeof result.rootGroupId !== 'undefined') {
console.log(result.rootGroupId);
$('#rootGroupBtn').on('click', function() { $('#rootGroupBtn').on('click', function() {
CHAT_UI.refreshGroupSearch(result.rootGroupId, isInvite); CHAT_UI.refreshGroupSearch(result.rootGroupId, isInvite);
}); });
...@@ -1150,7 +1148,6 @@ CHAT_UI.refreshContactScreen = function(isCreate, isInvite) { ...@@ -1150,7 +1148,6 @@ CHAT_UI.refreshContactScreen = function(isCreate, isInvite) {
}); });
let obj = $(jQuery.parseHTML(html)).on('click', function(){ let obj = $(jQuery.parseHTML(html)).on('click', function(){
console.log('click');
if (isCreate != true) { if (isCreate != true) {
CHAT_UI.makeNameCard(groupUser.shopMemberId); CHAT_UI.makeNameCard(groupUser.shopMemberId);
} else { } else {
...@@ -1477,13 +1474,11 @@ CHAT_UI.refesshAllGroupSearch = function(groupId) { ...@@ -1477,13 +1474,11 @@ CHAT_UI.refesshAllGroupSearch = function(groupId) {
$('#groupPathArea').html(''); $('#groupPathArea').html('');
if (typeof result.parentGroupId !== 'undefined') { if (typeof result.parentGroupId !== 'undefined') {
console.log(result.parentGroupId);
$('#parentGroupBtn').on('click', function() { $('#parentGroupBtn').on('click', function() {
CHAT_UI.refesshAllGroupSearch(result.parentGroupId); CHAT_UI.refesshAllGroupSearch(result.parentGroupId);
}); });
} }
if (typeof result.rootGroupId !== 'undefined') { if (typeof result.rootGroupId !== 'undefined') {
console.log(result.rootGroupId);
$('#rootGroupBtn').on('click', function() { $('#rootGroupBtn').on('click', function() {
CHAT_UI.refesshAllGroupSearch(result.rootGroupId); CHAT_UI.refesshAllGroupSearch(result.rootGroupId);
}); });
...@@ -1583,10 +1578,7 @@ CHAT_UI.changeFavorite = function () { ...@@ -1583,10 +1578,7 @@ CHAT_UI.changeFavorite = function () {
}; };
CHAT_UI.makeNameCard = function (shopMemberId) { CHAT_UI.makeNameCard = function (shopMemberId) {
console.log('makeNameCard Click');
var nameCardInfo = CHAT_DB.getNameCardData(shopMemberId); var nameCardInfo = CHAT_DB.getNameCardData(shopMemberId);
console.log(nameCardInfo);
const userNamecardTemplate = $('#namecard-template').html(); const userNamecardTemplate = $('#namecard-template').html();
let namecardHtml = Mustache.render(userNamecardTemplate, { let namecardHtml = Mustache.render(userNamecardTemplate, {
loginId: nameCardInfo.shopMemberId, loginId: nameCardInfo.shopMemberId,
...@@ -1606,10 +1598,7 @@ CHAT_UI.makeNameCard = function (shopMemberId) { ...@@ -1606,10 +1598,7 @@ CHAT_UI.makeNameCard = function (shopMemberId) {
}; };
CHAT_UI.makeNameCardInChatRoom = function (chatRoomId) { CHAT_UI.makeNameCardInChatRoom = function (chatRoomId) {
console.log('makeNameCard Click');
var nameCardInfo = CHAT_DB.getNameCardData(chatRoomId); var nameCardInfo = CHAT_DB.getNameCardData(chatRoomId);
console.log(nameCardInfo);
const userNamecardTemplate = $('#namecard-template').html(); const userNamecardTemplate = $('#namecard-template').html();
let namecardHtml = Mustache.render(userNamecardTemplate, { let namecardHtml = Mustache.render(userNamecardTemplate, {
loginId: nameCardInfo.shopMemberId, loginId: nameCardInfo.shopMemberId,
...@@ -1643,13 +1632,11 @@ CHAT_UI.refesshAllGroupSearchFaborite = function(groupId) { ...@@ -1643,13 +1632,11 @@ CHAT_UI.refesshAllGroupSearchFaborite = function(groupId) {
$('#groupPathArea').html(''); $('#groupPathArea').html('');
if (typeof result.parentGroupId !== 'undefined') { if (typeof result.parentGroupId !== 'undefined') {
console.log(result.parentGroupId);
$('#parentGroupBtn').on('click', function() { $('#parentGroupBtn').on('click', function() {
CHAT_UI.refesshAllGroupSearch(result.parentGroupId); CHAT_UI.refesshAllGroupSearch(result.parentGroupId);
}); });
} }
if (typeof result.rootGroupId !== 'undefined') { if (typeof result.rootGroupId !== 'undefined') {
console.log(result.rootGroupId);
$('#rootGroupBtn').on('click', function() { $('#rootGroupBtn').on('click', function() {
CHAT_UI.refesshAllGroupSearch(result.rootGroupId); CHAT_UI.refesshAllGroupSearch(result.rootGroupId);
}); });
......
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