diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2015-10-14 13:36:19 +0300 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2015-10-14 13:36:19 +0300 |
commit | e170bc571390652271766e4ed2c8db3bd43ea870 (patch) | |
tree | 315fb607871ea8accf5da454249d569b7674b779 /core/View | |
parent | 6aa4439f0f29b718bca6ff17f9676ed82856a18c (diff) |
only add piwik-expand-on-click to the controls that need it
Diffstat (limited to 'core/View')
-rw-r--r-- | core/View/UIControl.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/View/UIControl.php b/core/View/UIControl.php index 845d0f9d6a..dc5bca1279 100644 --- a/core/View/UIControl.php +++ b/core/View/UIControl.php @@ -60,6 +60,13 @@ class UIControl extends \Piwik\View public $cssClass = ""; /** + * HTML Attributes for the root element + * + * @var string + */ + public $htmlAttributes = array(); + + /** * The inner view that renders the actual control content. * * @var View @@ -125,6 +132,7 @@ class UIControl extends \Piwik\View $this->templateVars['cssIdentifier'] = $this->cssIdentifier; $this->templateVars['cssClass'] = $this->cssClass; $this->templateVars['jsClass'] = $this->jsClass; + $this->templateVars['htmlAttributes'] = $this->htmlAttributes; $this->templateVars['jsNamespace'] = $this->jsNamespace; $this->templateVars['implOverride'] = $override; |