Browse Source

fix(dashbard): fixed issue confirmig when saving a dashboard with conflict

Torkel Ödegaard 9 years ago
parent
commit
42961ef8a0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      public/app/features/dashboard/dashboard_srv.ts

+ 1 - 1
public/app/features/dashboard/dashboard_srv.ts

@@ -88,7 +88,7 @@ export class DashboardSrv {
         onAltAction: () => {
         onAltAction: () => {
           this.saveDashboardAs();
           this.saveDashboardAs();
         },
         },
-        onConfirm: function() {
+        onConfirm: () => {
           this.saveDashboard({overwrite: true});
           this.saveDashboard({overwrite: true});
         }
         }
       });
       });