aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/main.js
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-04-21 22:45:54 +0200
committerMario Vavti <mario@mariovavti.com>2015-04-21 22:45:54 +0200
commit21704ecb93e293f39d0228ae0d9765f37af8d99e (patch)
treeba934e990f9c26a15ddbe1b9aa0a298323cb1ffc /view/js/main.js
parent0bd9fe0b11013423a17ebaabb22482bee38d8f0f (diff)
downloadvolse-hubzilla-21704ecb93e293f39d0228ae0d9765f37af8d99e.tar.gz
volse-hubzilla-21704ecb93e293f39d0228ae0d9765f37af8d99e.tar.bz2
volse-hubzilla-21704ecb93e293f39d0228ae0d9765f37af8d99e.zip
bring lockview to menu items, slightly change the way /lockview is called
Diffstat (limited to 'view/js/main.js')
-rw-r--r--view/js/main.js4
1 files changed, 2 insertions, 2 deletions
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);
});
}