Skip to content

Commit

Permalink
feat: add config setting to preserve success messages
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardBaumrock committed May 6, 2024
1 parent e4fda2e commit 9270aa9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions RockFrontend.module.php
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,7 @@ private function addLiveReload(): bool
{
$config = $this->wire->config;
if (!$config->livereload) return false;
if ($config->rockformsPreserveSuccess) return false;
if ($config->ajax) return false;
if ($config->external) return false;
return true;
Expand Down

0 comments on commit 9270aa9

Please sign in to comment.