mirror of
https://github.com/processwire/processwire.git
synced 2025-08-13 18:24:57 +02:00
Fix issue where InputfieldImage could potentially detect ajax request mode when not applicable
This commit is contained in:
@@ -1310,7 +1310,7 @@ class InputfieldImage extends InputfieldFile implements InputfieldItemList, Inpu
|
||||
$this->message($this->_('Recreated all legacy thumbnails') . " - $this->name");
|
||||
}
|
||||
|
||||
if(!$this->isAjax) {
|
||||
if(!$this->isAjax && !$this->wire('config')->ajax) {
|
||||
// process actions, but only on non-ajax save requests
|
||||
foreach($this->value as $k => $pagefile) {
|
||||
$id = $this->pagefileId($pagefile);
|
||||
|
Reference in New Issue
Block a user