]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/bweb/tpl/running_job.tpl
ebl fix
[bacula/bacula] / gui / bweb / tpl / running_job.tpl
index c3121c57f0c4b17be5d03235ec9f32397fdd7f8c..0ed0b4a066506035d3b212dfe65e7c13487b196f 100644 (file)
@@ -7,12 +7,13 @@
    <table id='id<TMPL_VAR NAME=ID>'></table>
    <br/>
 <label>
-<input type="image" type='submit' name='action' value='cancel_job'
- title='Cancel job' src='/bweb/cancel.png'>
-</label>
-<label>
 <input type='image' name='action' value='dsp_cur_job' 
  title='View job' src='/bweb/zoom.png'>
+</label>
+<label>
+<input type="image" type='submit' name='action' value='cancel_job'
+ onclick="return confirm('Do you want to cancel selected job ?')"
+ title='Cancel job' src='/bweb/cancel.png'>
 </label>
    </form>