diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-01-10 01:18:28 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-01-10 01:18:28 +0100 |
| commit | a95e41815be353f717e5a9347166e0bbc486c687 (patch) | |
| tree | a4aec468c53ba6d5baa688df0dba3fbb8a588fb4 /ishtar_common/static/js | |
| parent | 99f0621b864550817931a46850e5194f571c9d81 (diff) | |
| parent | 7475ae571619c3726e63c5cefc0215930cb83278 (diff) | |
| download | Ishtar-a95e41815be353f717e5a9347166e0bbc486c687.tar.bz2 Ishtar-a95e41815be353f717e5a9347166e0bbc486c687.zip | |
Merge branch 'v0.9' into wheezy
Diffstat (limited to 'ishtar_common/static/js')
| -rw-r--r-- | ishtar_common/static/js/ishtar.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ishtar_common/static/js/ishtar.js b/ishtar_common/static/js/ishtar.js index 8abf23289..b5f4f1a79 100644 --- a/ishtar_common/static/js/ishtar.js +++ b/ishtar_common/static/js/ishtar.js @@ -102,6 +102,18 @@ function init_shortcut_fields(){ load_shortcut_menu ); }); + $("#current_treatment").change(function(){ + $.post('/' + url_path + 'update-current-item/', + {item:'treatment', value:$("#current_treatment").val()}, + load_shortcut_menu + ); + }); + $("#current_treatmentfile").change(function(){ + $.post('/' + url_path + 'update-current-item/', + {item:'treatmentfile', value:$("#current_treatmentfile").val()}, + load_shortcut_menu + ); + }); } function init_advanced_shortcut_fields(){ |
