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