bring lockview to menu items, slightly change the way /lockview is called
This commit is contained in:
@@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user