summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-03-04 08:40:34 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-03-04 08:40:34 -0300
commitb6096065d56c16ab5a463aba94ace103a0efcc19 (patch)
treec807ba20a595ac0231ef1962134331f9e39e6744
parentff9c579f37a278424f634cd30636ca88c15a28d3 (diff)
downloadpfsense-b6096065d56c16ab5a463aba94ace103a0efcc19.zip
pfsense-b6096065d56c16ab5a463aba94ace103a0efcc19.tar.gz
Remove alert confirmation to delete a package, today user need to confirm twice
-rwxr-xr-xusr/local/www/pkg_mgr_installed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/pkg_mgr_installed.php b/usr/local/www/pkg_mgr_installed.php
index 03d5441..1308213 100755
--- a/usr/local/www/pkg_mgr_installed.php
+++ b/usr/local/www/pkg_mgr_installed.php
@@ -206,7 +206,7 @@ include("head.inc");
<?php endif; ?>
</td>
<td valign="middle" class="list nowrap">
- <a onclick="return confirm('<?=gettext("Do you really want to remove {$pkg['name']} package?"); ?>')" href="pkg_mgr_install.php?mode=delete&amp;pkg=<?= $pkg['name']; ?>">
+ <a href="pkg_mgr_install.php?mode=delete&amp;pkg=<?= $pkg['name']; ?>">
<img <?=domTT_title(gettext("Remove ".ucfirst($pkg['name'])." package."))?> src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" width="17" height="17" border="0" alt="delete" />
</a>
<br/>
OpenPOWER on IntegriCloud