private void addEditingHistoryItem(boolean prohibitReturn) {

        if (prohibitReturn) {
            History.newItem(EDITOR_FOR_NO_RETURN_HASH_KEY, false);
        } else {
            History.newItem(
                EDITOR_HASH_KEY
                    + CmsContainerpageController.getServerId(getCurrentElementId())
                    + (m_dependingElementId != null ? "," + m_dependingElementId + ";" : ";"),
                false);
        }
    }
private void addEditingHistoryItem ( boolean prohibitReturn ) { if ( prohibitReturn ) { History . newItem ( EDITOR_FOR_NO_RETURN_HASH_KEY , false ) ; } else { History . newItem ( EDITOR_HASH_KEY + CmsContainerpageController . getServerId ( getCurrentElementId ( ) ) + ( m_dependingElementId != null ? "," + m_dependingElementId + ";" : ";" ) , false ) ; } }
Adds a history item for the opened editor.<p>
Use the prohibitReturn flag to deny a return to the opened editor through the browser history.
Use this feature for inline editing or when opening the editor for new resources.<p>

@param prohibitReturn if <code>true</code> returning to the opened editor through the browser history is denied