diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-04-21 22:45:54 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-04-21 22:45:54 +0200 |
commit | 21704ecb93e293f39d0228ae0d9765f37af8d99e (patch) | |
tree | ba934e990f9c26a15ddbe1b9aa0a298323cb1ffc /view/js/main.js | |
parent | 0bd9fe0b11013423a17ebaabb22482bee38d8f0f (diff) | |
download | volse-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.js | 4 |
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); }); } |