public class CmsAddToFavoritesButton extends A_CmsToolbarOptionButton {
public CmsAddToFavoritesButton(CmsContainerpageHandler handler) {
super(I_CmsButton.ButtonData.ADD_TO_FAVORITES, handler);
}
@Override
<BUG>public boolean hasPermissions(CmsContainerPageElement element) {
return true;
}
@Override</BUG>
public void onElementClick(ClickEvent event, CmsContainerPageElement element) {

public class CmsAddToFavoritesButton extends A_CmsToolbarOptionButton {
public CmsAddToFavoritesButton(CmsContainerpageHandler handler) {
super(I_CmsButton.ButtonData.ADD_TO_FAVORITES, handler);
}
@Override
public void onElementClick(ClickEvent event, CmsContainerPageElement element) {
