diff options
Diffstat (limited to 'ishtar_common/static/js')
| -rw-r--r-- | ishtar_common/static/js/ishtar.js | 10 | 
1 files changed, 10 insertions, 0 deletions
| diff --git a/ishtar_common/static/js/ishtar.js b/ishtar_common/static/js/ishtar.js index c50d050ef..7918f742f 100644 --- a/ishtar_common/static/js/ishtar.js +++ b/ishtar_common/static/js/ishtar.js @@ -41,6 +41,16 @@ $(document).ready(function(){                 {item:'operation', value:$("#current_operation").val()}          );      }); +    $("#current_contextrecord").change(function(){ +        $.post('/' + url_path + 'update-current-item/', +               {item:'contextrecord', value:$("#current_contextrecord").val()} +        ); +    }); +    $("#current_find").change(function(){ +        $.post('/' + url_path + 'update-current-item/', +               {item:'find', value:$("#current_find").val()} +        ); +    });      if ($(document).height() < 1.5*$(window).height()){          $('#to_bottom_arrow').hide();          $('#to_top_arrow').hide(); | 
