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

Made the search work a bit again.

Removed use of req.standAloneMode.  With new docs app we are always
in stand alone mode, but it's a different standalone mode.
parent de9f46b6
Loading
Loading
Loading
Loading
+1 −12
Original line number Diff line number Diff line
@@ -59,18 +59,7 @@ Ext.onReady(function() {

        handleClick: function(curItem) {
            curItem = curItem || panel.getSelectionModel().getLastSelected();
            var classId = curItem.data.cls;

            if (req.standAloneMode) {
                if (window.location.href.match(/api/)) {
                    window.location = classId + '.html';
                } else {
                    window.location = 'api/' + classId + '.html';
                }
                return;
            }

            var cls = classId;
            var cls = curItem.data.cls;
            if (curItem.data.memberType != 'cls') {
                cls += '#' + curItem.data.memberType + '-' + curItem.data.member;
            }