Torkel Ödegaard %!s(int64=9) %!d(string=hai) anos
pai
achega
f8395666e6
Modificáronse 1 ficheiros con 4 adicións e 3 borrados
  1. 4 3
      public/app/features/dashboard/row/add_panel.ts

+ 4 - 3
public/app/features/dashboard/row/add_panel.ts

@@ -90,9 +90,10 @@ export class AddPanelCtrl {
     this.rowCtrl.dropView = 0;
     this.rowCtrl.dropView = 0;
     this.dashboard.addPanel(panel, this.row);
     this.dashboard.addPanel(panel, this.row);
     this.$timeout(() => {
     this.$timeout(() => {
-      this.$rootScope.appEvent('panel-change-view', {
-        fullscreen: true, edit: true, panelId: panel.id
-      });
+      this.$rootScope.broadcast('render');
+      //this.$rootScope.appEvent('panel-change-view', {
+      //  fullscreen: true, edit: true, panelId: panel.id
+      //});
     });
     });
   }
   }
 }
 }