srchub

srchub Commit Details


Date:2014-12-19 22:53:27 (10 years 4 months ago)
Author:Natalie Adams
Branch:master
Commit:f8923636134ca03df293253c4d9e3376234830c2
Parents: 69c03cef155655ebea470b38dc56b470ac6b5942
Message:Changing behavior of project search textbox to navigate to first displayed project

Changes:

File differences

indefero/src/IDF/templates/idf/main-menu.html
3333
3434
3535
36
37
38
39
40
41
36
4237
4338
4439
    $("#prjname").keydown(function(ev) {
        if(ev.which === 13) {
            var elements = $('.projectitem :visible');
            var count = elements.size();
            if (count > 0 && (count / 2) == 1)
            {
                window.location.replace($('.projectitem :visible').attr("href"));
            }
            window.location.replace($('.projectitem :visible').first().attr("href"));
        }
    });

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.12478s using 14 queries.