##// END OF EJS Templates
Moving a cell focuses it after the move....
Brian E. Granger -
Show More
@@ -566,6 +566,8 var IPython = (function (IPython) {
566 tomove.detach();
566 tomove.detach();
567 pivot.before(tomove);
567 pivot.before(tomove);
568 this.select(i-1);
568 this.select(i-1);
569 var cell = this.get_selected_cell();
570 cell.focus_cell();
569 };
571 };
570 this.set_dirty(true);
572 this.set_dirty(true);
571 };
573 };
@@ -589,6 +591,8 var IPython = (function (IPython) {
589 tomove.detach();
591 tomove.detach();
590 pivot.after(tomove);
592 pivot.after(tomove);
591 this.select(i+1);
593 this.select(i+1);
594 var cell = this.get_selected_cell();
595 cell.focus_cell();
592 };
596 };
593 };
597 };
594 this.set_dirty();
598 this.set_dirty();
General Comments 0
You need to be logged in to leave comments. Login now