Deletes the html content of the galleries parameter and removes the style.<p>

@param galleries the galleries to remove from selection
161786
public void onClearGalleries(List<String> galleries) {

        if (galleries != null) {
            m_galleryDialog.getGalleriesTab().uncheckGalleries(galleries);
        }
    }
637503
private static void cleanStyles(Element e) {
        if (e == null) {
            return;
        }

        Element cur = e.children().first();

        // Remove any root styles, if we're able.
        if (!"readability-styled".equals(e.className())) {
            e.removeAttr("style");
        }

        // Go until there are no more child nodes
        while (cur != null) {
            // Remove style attributes
            if (!"readability-styled".equals(cur.className())) {
                cur.removeAttr("style");
            }
            cleanStyles(cur);
            cur = cur.nextElementSibling();
        }
    }
144700
public void updateListContent(List<CmsGalleryFolderBean> galleries, List<String> selectedGalleries) {

        clearList();
        fillContent(galleries, selectedGalleries);
    }
1243094
private void removeCssLinks() {
		if (this.isInit) {
			return;
		}
		this.isInit = true;
		// Remove all existing link element
		NodeList<Element> links = this.getHead().getElementsByTagName(LinkElement.TAG);
		int size = links.getLength();
		for (int i = 0; i < size; i++) {
			LinkElement elem = LinkElement.as(links.getItem(0));
			if ("stylesheet".equals(elem.getRel())) {
				elem.removeFromParent();
			}
		}
	}
417379
protected void setGalleriesVisible(boolean visible) {

        if (visible) {
            m_noGalleriesLabel.getElement().getStyle().clearDisplay();
            m_galleryTree.getElement().getStyle().clearDisplay();
        } else {
            m_galleryTree.getElement().getStyle().setDisplay(Display.NONE);
            m_noGalleriesLabel.getElement().getStyle().setDisplay(Display.NONE);

        }
    }
533754
public void delete(List<URI> srcs) {
    for (URI src : srcs) {
      delete(src);
    }
    paths.invalidateAll(srcs);
  }
63370
public void deleteRewrites(List<CmsRewriteAliasTableRow> rowsToDelete) {

        List<CmsRewriteAliasTableRow> liveData = m_view.getRewriteData();
        liveData.removeAll(rowsToDelete);
        m_view.getRewriteTable().getSelectionModel().clear();
        updateValidationStatus();
    }
763020
public void removeChildren(String children)
    {
        getChildren(children).stream().map(Xml::getElement).forEach(root::removeChild);
    }
1165828
public function removeRoom(\Ydle\HubBundle\Entity\Room $rooms)
    {
        $this->rooms->removeElement($rooms);
    }
1296549
private void setLastOpenedGallery(CmsGallerySearchBean searchObject) {

        if ((searchObject.getGalleries() != null)
            && (searchObject.getGalleries().size() <= 1) // if the size is 0, the user has actively deselected the galleries, so we want to handle this case too
            && searchObject.haveGalleriesChanged()) {
            String galleryPath = searchObject.getGalleries().isEmpty() ? null : searchObject.getGalleries().get(0);
            CmsWorkplaceSettings settings = getWorkplaceSettings();
            if (searchObject.getGalleryMode() == GalleryMode.adeView) {
                settings.setLastUsedGallery("" + GalleryMode.adeView, galleryPath);
            } else {
                String referencePath = searchObject.getReferencePath();

                String referenceTypeName = "";

                try {
                    CmsObject cms = getCmsObject();
                    CmsResource referenceResource = cms.readResource(referencePath);
                    I_CmsResourceType referenceType = OpenCms.getResourceManager().getResourceType(referenceResource);
                    referenceTypeName = referenceType.getTypeName();
                } catch (CmsException e) {
                    LOG.error(e.getLocalizedMessage(), e);
                }
                settings.setLastUsedGallery(
                    CmsGallerySearchBean.getGalleryStorageKey(
                        searchObject.getGalleryStoragePrefix(),
                        referenceTypeName),
                    galleryPath);
            }
        }
    }
315440
private void addGalleryEntries(CmsGalleryTreeItem parent, List<CmsGalleryFolderEntry> galleries) {

        for (CmsGalleryFolderEntry galleryFolder : galleries) {
            CmsGalleryTreeItem folderItem = createGalleryFolderItem(galleryFolder);
            parent.addChild(folderItem);
            m_galleryTreeItems.put(galleryFolder.getStructureId(), folderItem);
            addGalleryEntries(folderItem, galleryFolder.getSubGalleries());
        }
    }
1362849
function remove(slides) {
      for (var i = 0, len = slides.length; i < len; i++) {
        var style = slides[i].style;

        style.marginLeft = '';
        style.marginRight = '';
      }
    }
1206609
function remove() {
      var slides = Components.Html.slides;

      for (var i = 0; i < slides.length; i++) {
        slides[i].style.width = '';
      }

      Components.Html.wrapper.style.width = '';
    }
998850
public void setStartGallery(String galleryType, String galleryUri) {

        if (galleryUri == null) {
            m_startGalleriesSettings.remove(galleryType);
        } else {
            m_startGalleriesSettings.put(galleryType, galleryUri);
        }
    }
1237481
protected void removeInvalidChildren() {

        if (getLoadState() == LoadState.LOADED) {
            List<CmsSitemapTreeItem> toDelete = new ArrayList<CmsSitemapTreeItem>();
            for (int i = 0; i < getChildCount(); i++) {
                CmsSitemapTreeItem item = (CmsSitemapTreeItem)getChild(i);
                CmsUUID id = item.getEntryId();
                if ((id != null) && (CmsSitemapView.getInstance().getController().getEntryById(id) == null)) {
                    toDelete.add(item);
                }
            }
            for (CmsSitemapTreeItem deleteItem : toDelete) {
                m_children.removeItem(deleteItem);
            }
        }
    }
1067686
public void deleteOld() {

        Iterator<CmsResourceTypeStatResult> iterator = m_results.iterator();
        while (iterator.hasNext()) {
            CmsResourceTypeStatResult res = iterator.next();
            if (isToOld(res)) {
                iterator.remove();
            }
        }
    }
26080
public void onClearCategories(List<String> categories) {

        if (categories != null) {
            m_galleryDialog.getCategoriesTab().uncheckCategories(categories);
        }
    }