Uploaded image for project: 'Skin factory'
  1. Skin factory
  2. SKINFACTORY-175

Cannot see the parameters in the ribbon

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.3.1, 2.4.0
    • 2.2.0
    • None
    • 4.3 M1

      The generated ribbon have some parameters (type = text) that are not registered

      control = Ext.create("Ametys.plugins.skinfactory.widgets.controller.WidgetButtonController", Ext.apply({
      					menuClass: "Ametys.plugins.skinfactory.widgets.menu.ColorSelectorMenu",
      					paramId: "style.couleur.couleur8.bgcolor",
      					label: "Couleur 8",
      					description:  "",
      					"icon-glyph": "ametysicon-paint-bucket",
      					"icon-medium": "/plugins/skinfactory/resources/img/button/bgcolor_32.png", 
      					"icon-small": "/plugins/skinfactory/resources/img/button/bgcolor_16.png", 
      					"icon-large": "/plugins/skinfactory/resources/img/button/bgcolor_32.png" 
      				}, {
      					id: "style.couleur.couleur8.bgcolor",
      					pluginName: "skinfactory"
      				}));
      				Ametys.ribbon.RibbonManager.registerUI(control);
      			
      		control = Ext.create("Ametys.plugins.skinfactory.widgets.controller.InputText", Ext.apply({
      			description:  "Code css 1",
      			label: "Style 1",
      			paramId: "style.css.style1"
      		}, {
      			id: "style.css.style1",
      			pluginName: "skinfactory"
      		}));
      	
      

      thus there is a js error => TypeError: Cannot read property 'addUI' of undefined

            raphael Raphaƫl Franchet
            fravetier Frederic Ravetier (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: