IDEMPIERE-4100 Show ampersand in window titles
This commit is contained in:
parent
335269dd37
commit
3063be83ca
|
@ -493,7 +493,6 @@ public class WindowContainer extends AbstractUIPart implements EventListener<Eve
|
||||||
public void setTabTitle(String title, org.zkoss.zul.Tab tab) {
|
public void setTabTitle(String title, org.zkoss.zul.Tab tab) {
|
||||||
if (tab == null)
|
if (tab == null)
|
||||||
return;
|
return;
|
||||||
title = title.replaceAll("[&]", "");
|
|
||||||
if (title.length() <= MAX_TITLE_LENGTH)
|
if (title.length() <= MAX_TITLE_LENGTH)
|
||||||
{
|
{
|
||||||
tab.setLabel(title);
|
tab.setLabel(title);
|
||||||
|
|
Loading…
Reference in New Issue