|
@@ -11,15 +11,9 @@ Sidebar.History = function ( editor ) {
|
|
|
|
|
|
var history = editor.history;
|
|
|
|
|
|
- var container = new UI.CollapsiblePanel();
|
|
|
- container.setCollapsed( editor.config.getKey( 'ui/sidebar/history/collapsed' ) );
|
|
|
- container.onCollapsedChange( function ( boolean ) {
|
|
|
+ var container = new UI.Panel();
|
|
|
|
|
|
- editor.config.setKey( 'ui/sidebar/history/collapsed', boolean );
|
|
|
-
|
|
|
- } );
|
|
|
-
|
|
|
- container.addStatic( new UI.Text( 'HISTORY' ) );
|
|
|
+ container.add( new UI.Text( 'HISTORY' ) );
|
|
|
|
|
|
// Checkbox 'Save History'
|
|
|
|
|
@@ -54,9 +48,9 @@ Sidebar.History = function ( editor ) {
|
|
|
|
|
|
} );
|
|
|
|
|
|
- container.addStatic( saveHistorySpan );
|
|
|
+ container.add( saveHistorySpan );
|
|
|
|
|
|
- container.add( new UI.Break() );
|
|
|
+ container.add( new UI.Break(), new UI.Break() );
|
|
|
|
|
|
var ignoreObjectSelectedSignal = false;
|
|
|
|