mirror of
https://github.com/processwire/processwire.git
synced 2025-08-28 00:50:12 +02:00
Fix issue processwire/processwire-issues#1809
This commit is contained in:
@@ -85,7 +85,7 @@ class ProcessLanguage extends ProcessPageType {
|
||||
*
|
||||
*/
|
||||
public function init() {
|
||||
$this->addHookBefore('InputfieldFile::render', $this, 'renderInputfieldFile');
|
||||
$this->addHookBefore('InputfieldFile(name^=language_files)::render', $this, 'renderInputfieldFile');
|
||||
$this->addHookAfter('InputfieldFile::renderItem', $this, 'renderInputfieldFileItem');
|
||||
$this->addHookAfter('InputfieldFile::renderUpload', $this, 'renderInputfieldFileUpload');
|
||||
$this->addHookBefore('InputfieldFile::processInput', $this, 'processInputfieldFileInput');
|
||||
@@ -647,4 +647,3 @@ class ProcessLanguage extends ProcessPageType {
|
||||
$translator->unloadTextdomain($textdomain);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user