Images-Tab
Hochladen von Bildern funktioniert nun git-svn-id: https://svn.libreccm.org/ccm/trunk@1915 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
21100f7ae0
commit
b6a02b6990
|
|
@ -24,12 +24,10 @@ import com.arsdigita.cms.CMS;
|
|||
import com.arsdigita.cms.ImageAsset;
|
||||
import com.arsdigita.cms.ItemSelectionModel;
|
||||
import com.arsdigita.cms.Service;
|
||||
// import com.arsdigita.cms.dispatcher.Utilities;
|
||||
import com.arsdigita.mimetypes.MimeType;
|
||||
import com.arsdigita.util.Assert;
|
||||
import com.arsdigita.web.URL;
|
||||
import com.arsdigita.xml.Element;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -84,7 +84,6 @@ public class ImagesPane extends LayoutPanel implements Resettable {
|
|||
final ImageLibraryComponent library = new ImageLibraryComponent(ImageComponent.ADMIN_IMAGES);
|
||||
library.getForm().addInitListener(m_adminListener);
|
||||
library.getForm().addProcessListener(m_adminListener);
|
||||
// library.addUploadLink(m_adminListener);
|
||||
selectors.put(ImageComponent.LIBRARY, library);
|
||||
m_bodySegments.put(ImageComponent.LIBRARY, m_body.addSegment(
|
||||
new Label(GlobalizationUtil.globalize("cms.ui.image_library")),
|
||||
|
|
@ -132,6 +131,7 @@ public class ImagesPane extends LayoutPanel implements Resettable {
|
|||
public final void setActiveImageComponent(PageState state, String activeComp) {
|
||||
|
||||
Iterator<String> keys = m_bodySegments.keySet().iterator();
|
||||
m_imageComponent.setSelectedKey(state, activeComp);
|
||||
|
||||
while (keys.hasNext()) {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue