integrate revision 11218

Fix zkwebui: Second tab must not enable history button
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2923033
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2923033
This commit is contained in:
vpj-cd 2010-01-05 07:03:08 +00:00
parent b33b62490b
commit ea9d9fb36b
1 changed files with 10 additions and 0 deletions

View File

@ -988,6 +988,16 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
} }
toolbar.enablePrint(curTab.isPrinted()); toolbar.enablePrint(curTab.isPrinted());
if (gridWindow.isTransaction() && isFirstTab())
{
toolbar.enableHistoryRecords(true);
}
else
{
toolbar.enableHistoryRecords(false);
}
} }
/** /**