Project

General

Profile

« Previous | Next » 

Revision 0b456cf7

Added by Sjon Hortensius over 10 years ago

pfSense.js - add confirm to .btn-danger elements; removed onclicks

View differences:

usr/local/www/system_gateways.php
254 254
				copy
255 255
			</a>
256 256
<? if (is_numeric($gateway['attribute'])): ?>
257
			<a class="btn btn-xs btn-danger" href="system_gateways.php?act=del&amp;id=<?=$i?>" onclick="return confirm('<?=gettext("Do you really want to delete this gateway?")?>')">
257
			<a class="btn btn-xs btn-danger" href="system_gateways.php?act=del&amp;id=<?=$i?>">
258 258
				delete
259 259
			</a>
260 260
			<a class="btn btn-xs btn-default" href="?act=toggle&amp;id=<?=$i?>">

Also available in: Unified diff