equal
deleted
inserted
replaced
45 var d = asyncRemoteExec('filter_build_rql', zipped[0], zipped[1]); |
45 var d = asyncRemoteExec('filter_build_rql', zipped[0], zipped[1]); |
46 d.addCallback(function(result) { |
46 d.addCallback(function(result) { |
47 var rql = result[0]; |
47 var rql = result[0]; |
48 var $bkLink = jQuery('#facetBkLink'); |
48 var $bkLink = jQuery('#facetBkLink'); |
49 if ($bkLink.length) { |
49 if ($bkLink.length) { |
50 var bkUrl = $bkLink.attr('cubicweb:target') + '&path=view?rql=' + rql; |
50 var bkPath = 'view?rql=' + escape(rql); |
51 if (vid) { |
51 if (vid) { |
52 bkUrl += '&vid=' + vid; |
52 bkPath += '&vid=' + escape(vid); |
53 } |
53 } |
|
54 var bkUrl = $bkLink.attr('cubicweb:target') + '&path=' + escape(bkPath); |
54 $bkLink.attr('href', bkUrl); |
55 $bkLink.attr('href', bkUrl); |
55 } |
56 } |
56 var toupdate = result[1]; |
57 var toupdate = result[1]; |
57 var extraparams = vidargs; |
58 var extraparams = vidargs; |
58 var displayactions = jQuery('#' + divid).attr('cubicweb:displayactions'); |
59 var displayactions = jQuery('#' + divid).attr('cubicweb:displayactions'); |