mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Mark Craig
21.57.2011 1705e14f12c293565e74444db298a1236f666118
A single click is too easily mixed up with a select
1 files modified
12 ■■■■ changed files
opendj3/pom.xml 12 ●●●● patch | view | raw | blame | history
opendj3/pom.xml
@@ -355,14 +355,14 @@
                  <replacevalue>
&lt;script  src="http://code.jquery.com/jquery-1.6.4.min.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;
// On click, reformat &lt;pre class="screen"&gt; for easy copying.
$(".screen").live("click", function() {
// On double-click, reformat &lt;pre class="screen"&gt; for easy copying.
$(".screen").live("dblclick", function() {
  $(this).replaceWith(
    "&lt;pre class=\"flat\"&gt;" +
    $(this).text().replace(/\n /g," ") + "\n&lt;!--" + $(this).text() + "--&gt;" +
    "&lt;/pre&gt;");
});
$(".flat").live("click", function() {
$(".flat").live("dblclick", function() {
  $(this).replaceWith(
    "&lt;pre class=\"screen\"&gt;" +
    $(this).html().replace(/(.|\n)+&lt;!\-\-/m,"").replace(/\-\-\&gt;/,"") +
@@ -434,14 +434,14 @@
                  <replacevalue>
&lt;script  src="http://code.jquery.com/jquery-1.6.4.min.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;
// On click, reformat &lt;pre class="screen"&gt; for easy copying.
$(".screen").live("click", function() {
// On double-click, reformat &lt;pre class="screen"&gt; for easy copying.
$(".screen").live("dblclick", function() {
  $(this).replaceWith(
    "&lt;pre class=\"flat\"&gt;" +
    $(this).text().replace(/\n /g," ") + "\n&lt;!--" + $(this).text() + "--&gt;" +
    "&lt;/pre&gt;");
});
$(".flat").live("click", function() {
$(".flat").live("dblclick", function() {
  $(this).replaceWith(
    "&lt;pre class=\"screen\"&gt;" +
    $(this).html().replace(/(.|\n)+&lt;!\-\-/m,"").replace(/\-\-\&gt;/,"") +