Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-7394

HtmlEditor - image insertion problem

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.5.6, 3.7.4, 3.8.1
    • 3.5.5
    • Inline Editor
    • None

      Filter on images doesnt work, and the wiget is unusable

      As a workaround the script below disable the image filter :

      org.ametys.web.helper.ExplorerTree.TreeFilter = Ext.extend (Ext.tree.TreeFilter, {
      	clear : function(node)
      	{
      		node = node || this.tree.getRootNode();
              var t = this.tree;
      	    var af = this.filtered;
      	    for(var id in af)
      	    {
      	        if(typeof id != "function")
      	        {
      	            var n = af[id];
      	            if (n && n.getOwnerTree() && n.getPath('name').indexOf(node.getPath('name')) == 0)
      	    	    {
      	            	delete af[id];
      	                n.ui.show();
      	            }
      	        }
      	    }
      	}
      });
      
      

            raphael Raphaƫl Franchet
            delphine Delphine Gavalda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: