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

Cannot see the parameters in the ribbon

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.3.1, 2.4.0
    • Labels:
      None
    • Sprint:
      4.3 M1

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              raphael Raphaƫl Franchet
              Reporter:
              fravetier Frederic Ravetier
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: