Tweaked pulldown editor path

This commit is contained in:
Rashid Khan
2013-11-07 14:25:24 -07:00
parent d3495ff739
commit 40a95bedb7
2 changed files with 12 additions and 3 deletions
+1 -1
View File
@@ -159,7 +159,7 @@
</div>
<div ng-repeat="pulldown in dashboard.current.nav" ng-controller="PulldownCtrl" ng-show="editor.index == 4+$index">
<ng-include ng-show="pulldown.enable" src="'./app/panels/'+pulldown.type+'/editor.html'"></ng-include>
<ng-include ng-show="pulldown.enable" src="edit_path(pulldown.type)"></ng-include>
<button ng-hide="pulldown.enable" class="btn" ng-click="pulldown.enable = true">Enable the {{pulldown.type}}</button>
</div>