diff options
Diffstat (limited to 'public/javascripts/application.js')
-rw-r--r-- | public/javascripts/application.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/public/javascripts/application.js b/public/javascripts/application.js index c1ecd86c7..42da02765 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -929,6 +929,11 @@ function toggleNewObjectDropdown() { $(document).ready(function(){ $('#content').on('change', 'input[data-disables], input[data-enables], input[data-shows]', toggleDisabledOnChange); toggleDisabledInit(); + + $('#history .tabs').on('click', 'a', function(e){ + var tab = $(e.target).attr('id').replace('tab-',''); + document.cookie = 'history_last_tab=' + tab + }); }); $(document).ready(function(){ |