From 21704ecb93e293f39d0228ae0d9765f37af8d99e Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Tue, 21 Apr 2015 22:45:54 +0200 Subject: bring lockview to menu items, slightly change the way /lockview is called --- view/js/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'view/js') diff --git a/view/js/main.js b/view/js/main.js index d7777ea8c..d1e61dc24 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -884,8 +884,8 @@ function getPosition(e) { return cursor; } -function lockview(event, id) { - $.get('lockview/' + id, function(data) { +function lockview(type, id) { + $.get('lockview/' + type + '/' + id, function(data) { $('#panel-' + id).html(data); }); } -- cgit v1.2.3