Project

General

Profile

« Previous | Next » 

Revision 2b6e8d64

Added by Katja Luther almost 7 years ago

ref #6730: fix delete of media

View differences:

eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/handler/DeleteHandler.java
186 186
    						  errorMessage = "The team or person ";
187 187
         				   } else if (object instanceof Media){
188 188
         				       config = new MediaDeletionConfigurator();
189
         				      
189 190
         				       Media media = HibernateProxyHelper.deproxy(object, Media.class);
191
         				      ((MediaDeletionConfigurator)config).setDeleteFrom(media);
190 192
         				       DeleteConfiguratorDialog dialog;
191 193
        					   dialog = new DeleteConfiguratorDialog(config, HandlerUtil.getActiveShell(event), CONFIRM_DELETION,  null,  "Do you really want to delete the media?", MessageDialog.WARNING, new String[] { DELETE, SKIP }, 0, true);
192 194
        					   int result_dialog= dialog.open();

Also available in: Unified diff