Changeset 2063:ce9d8e07b76b for inc
- Timestamp:
- 09/24/13 16:12:38 (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/admin/actions/class.dcaction.php
r2055 r2063 34 34 /** @var array list of $_POST fields used to build the redirection */ 35 35 protected $redirect_fields; 36 /** @var string redirection anchor if any */ 37 protected $redir_anchor; 38 36 39 /** @var string current action, if any */ 37 40 protected $action; … … 70 73 $this->field_entries = 'entries'; 71 74 $this->caller_title = __('Entries'); 75 if (isset($this->redir_args['_ANCHOR'])) { 76 $this->redir_anchor = '#'.$this->redir_args['_ANCHOR']; 77 unset($this->redir_args['_ANCHOR']); 78 } else { 79 $this->redir_anchor=''; 80 } 72 81 } 73 82 … … 216 225 $redir_args[$this->field_entries] = array_keys($this->entries); 217 226 } 218 return $this->uri.'?'.http_build_query($redir_args) ;227 return $this->uri.'?'.http_build_query($redir_args).$this->redir_anchor; 219 228 } 220 229
Note: See TracChangeset
for help on using the changeset viewer.