Browse Source

fix: dashboard links dropdown toggle did not update view, fixes #9732

Torkel Ödegaard 8 years ago
parent
commit
ae11bf7c14
1 changed files with 1 additions and 1 deletions
  1. 1 1
      public/app/features/dashlinks/editor.html

+ 1 - 1
public/app/features/dashlinks/editor.html

@@ -15,7 +15,7 @@
 					<span class="gf-form-label width-8">With tags</span>
 					<bootstrap-tagsinput ng-model="link.tags" class="width-10" tagclass="label label-tag" placeholder="add tags" style="margin-right: .25rem"></bootstrap-tagsinput>
 				</div>
-				<gf-form-switch ng-show="link.type === 'dashboards'" class="gf-form" label="As dropdown" checked="link.asDropdown" switch-class="max-width-4" label-class="width-8"></gf-form-switch>
+				<gf-form-switch ng-show="link.type === 'dashboards'" class="gf-form" label="As dropdown" checked="link.asDropdown" switch-class="max-width-4" label-class="width-8" on-change="updated()"></gf-form-switch>
 				<div class="gf-form" ng-show="link.type === 'dashboards' && link.asDropdown">
 					<span class="gf-form-label width-8">Title</span>
 					<input type="text" ng-model="link.title" class="gf-form-input max-width-10" ng-model-onblur ng-change="updated()">