Commit babeb511 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Moved showContent function to search.js.

That's the only place it is used.
parent 693af00d
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -67,8 +67,3 @@ var showClass = function(cls, anchor) {
    }
};
var showContent = function(title, html) {
    Ext.getCmp('docTabPanel').hide();
    Ext.get('pageContent').setVisibilityMode(Ext.core.Element.DISPLAY).show().update(html);
};
+5 −0
Original line number Diff line number Diff line
@@ -21,6 +21,11 @@ Ext.onReady(function() {
        '</table>'
    );

    var showContent = function(title, html) {
        Ext.getCmp('docTabPanel').hide();
        Ext.get('pageContent').setVisibilityMode(Ext.core.Element.DISPLAY).show().update(html);
    };

    var searchStore = new Ext.data.Store({
        fields: ['memberType', 'cls', 'member'],
        proxy: {