mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-28 18:29:05 +01:00
Update uninstall confirmation message
- Change message to warn that all data will be deleted - Apply to both local and store uninstall functions
This commit is contained in:
@@ -1363,7 +1363,7 @@ function installFromStore(pluginName) {
|
||||
}
|
||||
|
||||
function uninstallPluginFromStore(pluginName) {
|
||||
if (!confirm(`Uninstall ${pluginName}? This will remove the plugin from your system.`)) {
|
||||
if (!confirm(`Are you sure you want to uninstall ${pluginName}? All data from this plugin will be deleted.`)) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1474,7 +1474,7 @@ function installPlugin(pluginName) {
|
||||
}
|
||||
|
||||
function uninstallPlugin(pluginName) {
|
||||
if (!confirm(`Uninstall ${pluginName}? This will remove the plugin from your system.`)) {
|
||||
if (!confirm(`Are you sure you want to uninstall ${pluginName}? All data from this plugin will be deleted.`)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user