]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl Add a confirmation box when removing location
authorEric Bollengier <eric@eb.homelinux.org>
Sat, 17 Nov 2007 18:10:56 +0000 (18:10 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Sat, 17 Nov 2007 18:10:56 +0000 (18:10 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5954 91ce42f0-d328-0410-95d8-f526ca767f89

gui/bweb/tpl/display_location.tpl

index 18caefea9f2d7cdf2831b26e0549713147f7e2ba..1dbc824a7a0776009cdbb817fecbfd7dc6e40ed4 100644 (file)
@@ -6,7 +6,7 @@
    <form action='?' method='get'>
     <table id='id<TMPL_VAR ID>'></table>
     <button type="submit" class="bp" name='action' value='location_add' title='Add a location'> <img src='/bweb/add.png' alt=''>Add</button>
-    <button type="submit" class="bp" name='action' value='location_del' title='Remove a location'> <img src='/bweb/remove.png' alt=''>Remove</button>
+    <button type="submit" class="bp" name='action' value='location_del' onclick='confirm("Do you want to remove this location ?")' title='Remove a location'> <img src='/bweb/remove.png' alt=''>Remove</button>
     <button type="submit" class="bp" name='action' value='location_edit' title='Edit a location'> <img src='/bweb/edit.png' alt=''>Edit</button>
 
     <button type="submit" class="bp" name='action' value='media' title='Show content'> <img src='/bweb/zoom.png' alt=''>View content</button>