Commit 2bf1640c authored by Nick Poulden's avatar Nick Poulden
Browse files

Remove favorites / history for now

parent 151641ff
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -80,7 +80,7 @@ task :export do
  system "mkdir -p #{OUT_DIR}/extjs/resources/themes/images"
  system "cp #{SDK_DIR}/extjs/build/sdk/ext-all.js #{OUT_DIR}/extjs"
  system "cp -r #{SDK_DIR}/extjs/build/sdk/resources/themes/images/default #{OUT_DIR}/extjs/resources/themes/images"
  system "rm -rf #{OUT_DIR}/resources/sass/.sass-cache"
  system "rm -rf #{OUT_DIR}/resources/sass"
  system "rm -rf #{OUT_DIR}/resources/.sass-cache"
  system "cp template/index_production.html #{OUT_DIR}/index.html" 
end
+20 −20
Original line number Diff line number Diff line
@@ -14,26 +14,26 @@ Ext.define('Docs.view.clsTree.Tree', {
    border: false,
    bodyBorder: false,

    dockedItems: [
        {
            xtype: 'container',
            layout: {
                type: 'hbox'
            },
            dock: 'top',
            margin: '0 0 15 0',
            items: [
                {
                    margin: '0 10 0 0',
                    xtype: 'button',
                    text: 'Favorites'
                },
                {
                    xtype: 'docshistorybutton'
                }
            ]
        }
    ],
    // dockedItems: [
    //     {
    //         xtype: 'container',
    //         layout: {
    //             type: 'hbox'
    //         },
    //         dock: 'top',
    //         margin: '0 0 15 0',
    //         items: [
    //             {
    //                 margin: '0 10 0 0',
    //                 xtype: 'button',
    //                 text: 'Favorites'
    //             },
    //             {
    //                 xtype: 'docshistorybutton'
    //             }
    //         ]
    //     }
    // ],

    initComponent: function() {
        // Expand the main tree