diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-03-14 10:07:38 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-03-14 10:07:38 +0100 |
commit | c292824f14fcadadea6d95a54ebfe5d9db6647aa (patch) | |
tree | f1ef47e93b67af650e05c0318c7175b3d76454aa /ishtar_common | |
parent | e5252a6f73d073227492e94d0aa3160a41f8b8ca (diff) | |
download | Ishtar-c292824f14fcadadea6d95a54ebfe5d9db6647aa.tar.bz2 Ishtar-c292824f14fcadadea6d95a54ebfe5d9db6647aa.zip |
Shortcut list: choices for finds and context records not kept (refs #3082)
Diffstat (limited to 'ishtar_common')
-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(); |