related to #1725 added the definition of restore in the validation popin

This commit is contained in:
Matthieu Leproux
2022-09-12 15:42:16 +02:00
parent 0584425320
commit 217de988b2
2 changed files with 2 additions and 0 deletions
@@ -380,6 +380,7 @@ $(document).ready(function () {
let plugin_id = $(this).closest(".pluginContent").parent().attr("id");
$.confirm({
title: restore_plugin_msg.replace('%s', plugin_name),
content: str_restore_def,
buttons: {
confirm: {
text: confirm_msg,
@@ -40,6 +40,7 @@ const x_plugins_found = '{'%s plugins found'|@translate|@escape:'javascript'}';
const plugin_found = '{'%s plugin found'|@translate|@escape:'javascript'}';
const isWebmaster = {$isWebmaster};
const view_selector = '{$view_selector}';
const str_restore_def = '{'While restoring this plugin, it will be reset to its original parameters and associated data is going to be reset'|@translate|@escape:'javascript'}';
const show_details = {if $show_details} true {else} false {/if};