Fix module hotkeys

This commit is contained in:
jekkos-t520
2015-02-11 14:29:57 +01:00
parent 57cbbdab56
commit 081bf77782

View File

@@ -44,6 +44,6 @@ function http_s(url)
//keylisteners
$.each(['customers', 'items', 'reports', 'receivings', 'sales', 'employees', 'config', 'giftcards'], function(key, value) {
$(window).jkey('f' + (key+1), function(){
window.location = BASE_URL + '/' + value + ' /index';
window.location = BASE_URL + '/' + value + '/index';
});
});