srchub

srchub Commit Details


Date:2016-02-14 16:30:42 (8 years 10 months ago)
Author:Nathan Adams
Branch:master
Commit:b8d6c17308cc60649e154e30118395fbc0bb8765
Parents: 57927abcc2700be0dff1d2d0d1bfac12003c4dbb
Message:Issue 118: Typing a project list into project name search then hitting entire will take you to a 404

Changes:

File differences

indefero/www/media/idf/js/projectsearch.js
22
33
44
5
6
5
6
7
78
89
910
$("#prjname").keydown(function(ev) {
if(ev.which === 13) {
window.location.replace($('.projectitem :visible').first().attr("href"));
var link = $('.projectitem :visible').first().attr("href");
if(ev.which === 13 && link != undefined) {
window.location.replace(link);
}
});

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.06061s using 19 queries.