function ajaxGetItems($server, $node) { if (!$this->validateServerNode($server, $node)) { return; } RPC::call('Group.addLoad', stringToUri($server . '_' . $node)); $r = new GetItemsId(); $r->setTo($server)->setNode($node); $r->request(); }
function ajaxGetItems($server, $node) { if (!$this->validateServerNode($server, $node)) { return; } $slugify = new Slugify(); RPC::call('Group.addLoad', $slugify->slugify($server . '_' . $node)); RPC::call('MovimUtils.pushState', $this->route('group', [$server, $node])); RPC::call('MovimTpl.fill', '#group_widget.' . $slugify->slugify($server . '_' . $node), ''); $r = new GetItemsId(); $r->setTo($server)->setNode($node); $r->request(); }