Towards #CRM-20692: pass through options.
authorAllen Shaw <allen@JoineryHQ.com>
Tue, 6 Jun 2017 22:42:11 +0000 (17:42 -0500)
committerAllen Shaw <allen@JoineryHQ.com>
Tue, 6 Jun 2017 22:42:11 +0000 (17:42 -0500)
ang/crmUi.js
ang/crmUi/tabset.html

index b27499fdeed5f1a95bb28da6f146642ace5fe7bf..f53c145ad9c4c4da0c14c5419cbeb24b8ac8e70c 100644 (file)
       return {
         restrict: 'EA',
         scope: {
-          crmUiTabSet: '@'
+          crmUiTabSet: '@',
+          tabSetOptions: '@'
         },
         templateUrl: '~/crmUi/tabset.html',
         transclude: true,
index 556713cfa4d4a7bb965acb3831bb58dd2442980f..6bb45711f057d0c607907bf685b7546de3b2a61e 100644 (file)
@@ -1,4 +1,4 @@
-<div ui-jq="tabs" class="crm-tabset">
+<div ui-jq="tabs" ui-options="{{tabSetOptions}}" class="crm-tabset">
   <ul>
     <li ng-repeat="tab in tabs" class="ui-corner-all crm-tab-button crm-count-{{tab.count}}">
       <a href="#{{tab.id}}">