Project

General

Profile

Defect #13622 ยป fix.js

Artyom Khramov, 2014-12-11 10:21

 
1
$(function() {
2
    if($('#query_form').length == 0) {
3
        return;
4
    }
5
    var action = $('#query_form').attr('action');
6
    action = action.replace(/criteria/g, '');
7
    $('a.icon:nth-child(5)').attr('href', action);
8
    console.log(action);
9
});
    (1-1/1)