Issue #316 make /display updates work. Basically copy and paste what we do on load and add $simple_update to the query.

This commit is contained in:
Mario Vavti
2016-03-09 10:04:33 +01:00
parent 843cc1481a
commit c2cdd41e81
2 changed files with 49 additions and 4 deletions

View File

@@ -689,7 +689,7 @@ class Item extends BaseObject {
$comment_box = replace_macros($template,array(
'$return_path' => '',
'$threaded' => $this->is_threaded(),
'$jsreload' => (($conv->get_mode() === 'display') ? $_SESSION['return_url'] : ''),
'$jsreload' => '', //(($conv->get_mode() === 'display') ? $_SESSION['return_url'] : ''),
'$type' => (($conv->get_mode() === 'channel') ? 'wall-comment' : 'net-comment'),
'$id' => $this->get_id(),
'$parent' => $this->get_id(),