Browse Source

Fix using ampersand with find show search input.

tags/release_0.18.10^2
JackDandy 6 years ago
parent
commit
0a4c3ed9c2
  1. 7
      CHANGES.md
  2. 2
      gui/slick/js/inc_top.js

7
CHANGES.md

@ -1,4 +1,9 @@
### 0.18.9 (2019-01-08 01:00:00 UTC)
### 0.18.10 (2019-01-11 14:00:00 UTC)
* Fix using ampersand with find show search input
### 0.18.9 (2019-01-08 01:00:00 UTC)
* Change ensure utf-8 locale for Ubuntu snap
* Change remove non-release group stuff from newnab results

2
gui/slick/js/inc_top.js

@ -57,7 +57,7 @@ $(function(){
});
var search = function(){
var link$ = $('#add-show-name'), text = link$.find('input').val(),
var link$ = $('#add-show-name'), text = encodeURIComponent(link$.find('input').val()),
param = '?show_to_add=|||' + text + '&use_show_name=True';
window.location.href = link$.attr('data-href') + (!text.length ? '' : param);
}, removeHref = function(){$('#add-show-name').removeAttr('href');};

Loading…
Cancel
Save