외교 서신 레벨 지정
This commit is contained in:
+6
-5
@@ -150,6 +150,7 @@ function redrawMsg(deferred){
|
||||
|
||||
|
||||
msg.defaultIcon = pathConfig.sharedIcon+'/default.jpg';
|
||||
msg.level = myGeneralLevel;
|
||||
var msgHtml = TemplateEngine(messageTemplate, msg);
|
||||
|
||||
|
||||
@@ -331,18 +332,18 @@ function refreshMailboxList(obj){
|
||||
|
||||
function registerGlobal(basicInfo){
|
||||
|
||||
myNation = {
|
||||
window.myNation = {
|
||||
'id':basicInfo.myNationID,
|
||||
'mailbox':basicInfo.myNationID+9000,
|
||||
'color':'#000000',
|
||||
'nation':'재야'
|
||||
};
|
||||
lastMsg = {
|
||||
window.lastMsg = {
|
||||
id : basicInfo.lastContact
|
||||
};
|
||||
myGeneralID = basicInfo.generalID;
|
||||
isChief = basicInfo.isChief;
|
||||
myGeneralLevel = basicInfo.generalLevel;
|
||||
window.myGeneralID = basicInfo.generalID;
|
||||
window.isChief = basicInfo.isChief;
|
||||
window.myGeneralLevel = basicInfo.generalLevel;
|
||||
}
|
||||
|
||||
function activateMessageForm(){
|
||||
|
||||
@@ -42,5 +42,5 @@
|
||||
<div class="msg_content"><%e(text)%></div>
|
||||
<%if(this.option && this.option.action) {%>
|
||||
<div class="msg_prompt">
|
||||
<button class="prompt_yes btn_prompt">수락</button> <button class="prompt_no btn_prompt">거절</button>
|
||||
<button class="prompt_yes btn_prompt" <%level<4?'disabled="disabled"':''%>></button>>수락</button> <button class="prompt_no btn_prompt" <%level<4?'disabled="disabled"':''%></button>>거절</button>
|
||||
</div><%} %></div></div>
|
||||
Reference in New Issue
Block a user