From c292824f14fcadadea6d95a54ebfe5d9db6647aa Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 14 Mar 2016 10:07:38 +0100 Subject: Shortcut list: choices for finds and context records not kept (refs #3082) --- ishtar_common/static/js/ishtar.js | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ishtar_common') 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(); -- cgit v1.2.3