diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-08-15 15:47:37 +0200 | 
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-08-15 15:47:37 +0200 | 
| commit | b0817c5c7a7edc5aea3f73e4bc1b17e1540d2ee5 (patch) | |
| tree | aa5ad70433e6b6422d7cbaac42bbb5a316b57a37 /ishtar_common | |
| parent | f29a1de916fa2da52ef0d975d5dea8f22d7229cc (diff) | |
| download | Ishtar-b0817c5c7a7edc5aea3f73e4bc1b17e1540d2ee5.tar.bz2 Ishtar-b0817c5c7a7edc5aea3f73e4bc1b17e1540d2ee5.zip | |
Search: clear button change input color
Diffstat (limited to 'ishtar_common')
| -rw-r--r-- | ishtar_common/static/js/ishtar.js | 6 | 
1 files changed, 5 insertions, 1 deletions
| diff --git a/ishtar_common/static/js/ishtar.js b/ishtar_common/static/js/ishtar.js index 514044a07..c6f25920a 100644 --- a/ishtar_common/static/js/ishtar.js +++ b/ishtar_common/static/js/ishtar.js @@ -298,12 +298,16 @@ $(document).ready(function(){      });      load_shortcut_menu();      $('#current_items select').change(function(){ -        $(this).attr('class', $(this).children("option:selected").attr('class')); +        $(this).attr( +            'class', +            $(this).children("option:selected").attr('class') +        );      });      $("a.async-link").click(manage_async_link);      $(".chosen-select").chosen();      $("#clear-search-button").click(function(){          $(this).parent().parent().children('input').prop("value", ""); +        $("#id_search_vector").addClass('input-progress');          enable_save();      });      $("#submit-search").click(function(){ | 
