Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 11aee56

Browse files
committedApr 16, 2016
Sortable tab array
1 parent ccfe626 commit 11aee56

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed
 

‎src/tabarray.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66
class="clearfix schema-form-tabarray schema-form-tabarray-{{form.tabType || 'left'}} {{form.htmlClass}}">
77
<div ng-if="!form.tabType || form.tabType !== 'right'"
88
ng-class="{'col-xs-3': !form.tabType || form.tabType === 'left'}">
9-
<ul class="nav nav-tabs"
10-
ng-class="{ 'tabs-left': !form.tabType || form.tabType === 'left'}">
9+
<ol class="nav nav-tabs"
10+
ng-class="{ 'tabs-left': !form.tabType || form.tabType === 'left'}"
11+
sf-field-model ui-sortable="{items: 'li:not(:last-child)'}">
1112
<li sf-field-model="ng-repeat"
1213
ng-repeat="item in $$value$$ track by $index"
1314
ng-click="$event.preventDefault() || (selected.tab = $index)"
@@ -22,7 +23,7 @@
2223
{{ form.add || 'Add'}}
2324
</a>
2425
</li>
25-
</ul>
26+
</ol>
2627
</div>
2728

2829
<div ng-class="{'col-xs-9': !form.tabType || form.tabType === 'left' || form.tabType === 'right'}">

0 commit comments

Comments
 (0)
Please sign in to comment.