<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Owen <br>
<br>
I've made a patch for bug 7791, with a bootstrap modal :
<a class="moz-txt-link-freetext" href="http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7791">http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7791</a><br>
I hope I have understood the way it works...<br>
<br>
M. Saby<br>
<br>
<br>
Mathieu Saby a écrit :
<blockquote cite="mid:5239B0EF.20109@univ-rennes2.fr" type="cite">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <br>
Owen Leonard a écrit :
  <blockquote
 cite="mid:CAO4qe2NY8F0k9BSPTfDw_T82pmvDUPwtowb9pbW2PTwwy7i-oA@mail.gmail.com"
 type="cite">
    <blockquote type="cite">
      <pre wrap="">My idea :
If there are non cancelled orders in the baskets, create a js popup alert
    </pre>
    </blockquote>
    <pre wrap=""><!---->
You can't create a JavaScript-only alert with three buttons. This does
not exist.

I see a couple of choices:

1. Handle the operation without JavaScript and use a <div
class="dialog alert"> in the body of the page to offer the choice of
actions. Of course this would involve a trip to the server and a page
reload.
  </pre>
  </blockquote>
I have seen things like that, yes. Maybe to big a change.<br>
  <br>
  <blockquote
 cite="mid:CAO4qe2NY8F0k9BSPTfDw_T82pmvDUPwtowb9pbW2PTwwy7i-oA@mail.gmail.com"
 type="cite">
    <pre wrap="">2. Use a Bootstrap modal:
<a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://getbootstrap.com/2.3.2/javascript.html#modals">http://getbootstrap.com/2.3.2/javascript.html#modals</a> An example of
this can be found in acqui/basket.tt.

Option 2 is probably most like what you're imagining.

  -- Owen

  </pre>
  </blockquote>
That's it!<br>
  <br>
I had thought using jquery ui "dialog" like on that page, but I don't
think it is used in Koha : <br>
  <a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://jqueryui.com/dialog/#modal-confirmation">http://jqueryui.com/dialog/#modal-confirmation</a><br>
  <br>
Thanks a lot<br>
-- <br>
  <pre class="moz-signature" cols="72">Mathieu Saby
Service d'Informatique Documentaire
Service Commun de la Documentation
Université Rennes 2
Téléphone : 02 99 14 12 65
Courriel : <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="mailto:mathieu.saby@univ-rennes2.fr">mathieu.saby@univ-rennes2.fr</a>
  </pre>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Koha-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Koha-devel@lists.koha-community.org">Koha-devel@lists.koha-community.org</a>
<a class="moz-txt-link-freetext" href="http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel">http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a>
website : <a class="moz-txt-link-freetext" href="http://www.koha-community.org/">http://www.koha-community.org/</a>
git : <a class="moz-txt-link-freetext" href="http://git.koha-community.org/">http://git.koha-community.org/</a>
bugs : <a class="moz-txt-link-freetext" href="http://bugs.koha-community.org/">http://bugs.koha-community.org/</a></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
Mathieu Saby
Service d'Informatique Documentaire
Service Commun de la Documentation
Université Rennes 2
Téléphone : 02 99 14 12 65
Courriel : <a class="moz-txt-link-abbreviated" href="mailto:mathieu.saby@univ-rennes2.fr">mathieu.saby@univ-rennes2.fr</a>
</pre>
</body>
</html>