Commit 68bb5268 by Lee Munkyeong

ネームカード修正

parent 3edb8574
......@@ -432,9 +432,9 @@
</div>
<div class="text-center">
<button type="button" class="btn btn-primary" id="nameCardChatBtn">{{chat}}</button>
<button type="button" class="btn btn-primary" id="nameCardVoiceBtn">{{voice}}</button>
<button type="button" class="btn btn-primary" id="nameCardFavoriteBtn">{{favorite}}</button>
<button type="button" class="btn btn-primary" id="nameCardChatBtn" onclick="CHAT_UI.startChat();">{{chat}}</button>
<button type="button" class="btn btn-primary" id="nameCardVoiceBtn" onclick="CHAT_UI.startVoice();">{{voice}}</button>
<button type="button" class="btn btn-primary" id="nameCardFavoriteBtn" onclick="CHAT_UI.changeFavorite();">{{favorite}}</button>
</div>
</script>
<script id="message-template" type="text/template">
......
......@@ -1225,15 +1225,6 @@ CHAT_UI.hideNamecard = function(id) {
$('#'+id).modal('hide');
}
$(document).click(function (e) {
console.log($(e.target));
if($(e.target).hasClass('my-name-card-close')){
console.log('hideNameCard');
CHAT_UI.hideNamecard('myNamecard');
CHAT_UI.hideNamecard('userNamecard');
}
});
CHAT_UI.showUserNamecard = function(shopMemberId) {
// $('#myNamecard').appendTo("body").modal({
......@@ -1334,17 +1325,18 @@ CHAT_UI.refesshAllGroupSearch = function(groupId) {
$('#allGroupArea').show();
}
$('#nameCardChatBtn').on('click', function (e) {
CHAT_UI.startChat = function () {
//add Android Chat click
console.log("ChatClick");
});
};
$('#nameCardVoiceBtn').on('click', function (e) {
//add Android Voice click
CHAT_UI.startVoice = function () {
//add Android Chat click
console.log("VoiceClick");
});
};
$('#nameCardFavoriteBtn').on('click', function (e) {
//add Android Favorite click
CHAT_UI.changeFavorite = function () {
//add Android Chat click
console.log("FavoriteClick");
});
\ No newline at end of file
};
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