Skip to content

Commit

Permalink
set $JSINFO['act']
Browse files Browse the repository at this point in the history
  • Loading branch information
lisps committed Mar 20, 2014
1 parent 4dc9b29 commit 35094cc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions action.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ function _addjs(&$event, $param) {
if ($perm > AUTH_READ)
$JSINFO['acl_write'] = '1';
$JSINFO['currentNamespace'] = (($ns = getNS($ID))?$ns:'');

if(!isset($JSINFO['act'])) {
$JSINFO['act'] = $ACT;
}
}

}

0 comments on commit 35094cc

Please sign in to comment.