Browse Source

Merge pull request #614 in BA/design from ~KERRY/design:master to master

* commit 'c52ea2a287b4c21c4ea322643960a909210d236d':
  REPORT-979 日文社区,顶部菜单栏删除社区一块
master
superman 8 years ago
parent
commit
3ef823cc2f
  1. 5
      designer_base/src/com/fr/design/mainframe/toolbar/ToolBarMenuDock.java

5
designer_base/src/com/fr/design/mainframe/toolbar/ToolBarMenuDock.java

@ -148,7 +148,7 @@ public abstract class ToolBarMenuDock {
public void addCommunityMenuDef(java.util.List<MenuDef> menuList){
Locale locale = FRContext.getLocale();
Locale [] locales =supportCommunityLocales();
Locale [] locales = supportCommunityLocales();
for(int i = 0; i < locales.length; i++) {
if(locale.equals(locales[i])){
menuList.add(createCommunityMenuDef());
@ -160,9 +160,8 @@ public abstract class ToolBarMenuDock {
public Locale[] supportCommunityLocales() {
return new Locale[]{
Locale.CHINA,
Locale.JAPAN,
Locale.TAIWAN,
Locale.US,
Locale.US
};
}

Loading…
Cancel
Save