工会屏蔽修改工会宣言入口
parent
49d7c26a39
commit
6d82c9d02d
|
|
@ -167,12 +167,12 @@ function GuildInfoPopup:BindEvent()
|
||||||
UIManager.OpenPanel(UIName.GuildChangePopup, GUILD_CHANGE_TYPE.NAME)
|
UIManager.OpenPanel(UIName.GuildChangePopup, GUILD_CHANGE_TYPE.NAME)
|
||||||
end)
|
end)
|
||||||
Util.AddClick(this.btnEditAnnounce, function()
|
Util.AddClick(this.btnEditAnnounce, function()
|
||||||
local pos = MyGuildManager.GetMyPositionInGuild()
|
-- local pos = MyGuildManager.GetMyPositionInGuild()
|
||||||
if pos ~= GUILD_GRANT.MASTER and pos ~= GUILD_GRANT.ADMIN then
|
-- if pos ~= GUILD_GRANT.MASTER and pos ~= GUILD_GRANT.ADMIN then
|
||||||
PopupTipPanel.ShowTip(Language[10898])
|
-- PopupTipPanel.ShowTip(Language[10898])
|
||||||
return
|
-- return
|
||||||
end
|
-- end
|
||||||
UIManager.OpenPanel(UIName.GuildChangePopup, GUILD_CHANGE_TYPE.ANNOUNCE)
|
-- UIManager.OpenPanel(UIName.GuildChangePopup, GUILD_CHANGE_TYPE.ANNOUNCE)
|
||||||
end)
|
end)
|
||||||
Util.AddClick(this.btnInvite, function()
|
Util.AddClick(this.btnInvite, function()
|
||||||
local pos = MyGuildManager.GetMyPositionInGuild()
|
local pos = MyGuildManager.GetMyPositionInGuild()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue