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

Mark Craig
21.58.2011 02ec04025baf2daf2308b068f8aed147d45037ca
Hints on mouseover about double-click for line folding
1 files modified
16 ■■■■■ changed files
opendj3/pom.xml 16 ●●●●● patch | view | raw | blame | history
opendj3/pom.xml
@@ -356,15 +356,18 @@
<script  src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
<script type="text/javascript">
// On double-click, reformat <pre class="screen"> for easy copying.
$(document).ready(function() {
  $(".screen").attr("title", "Double-click to unwrap lines.");
});
$(".screen").live("dblclick", function() {
  $(this).replaceWith(
    "<pre class=\"flat\">" +
    "<pre class=\"flat\" title=\"Double-click to wrap long lines.\">" +
    $(this).text().replace(/\n /g," ") + "\n<!--" + $(this).text() + "-->" +
    "</pre>");
});
$(".flat").live("dblclick", function() {
  $(this).replaceWith(
    "<pre class=\"screen\">" +
    "<pre class=\"screen\" title=\"Double-click to unwrap lines.\">" +
    $(this).html().replace(/(.|\n)+<!\-\-/m,"").replace(/\-\-\>/,"") +
    "</pre>");
</script>
@@ -435,18 +438,21 @@
<script  src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
<script type="text/javascript">
// On double-click, reformat <pre class="screen"> for easy copying.
$(document).ready(function() {
  $(".screen").attr("title", "Double-click to unwrap lines.");
});
$(".screen").live("dblclick", function() {
  $(this).replaceWith(
    "<pre class=\"flat\">" +
    "<pre class=\"flat\" title=\"Double-click to wrap long lines.\">" +
    $(this).text().replace(/\n /g," ") + "\n<!--" + $(this).text() + "-->" +
    "</pre>");
});
$(".flat").live("dblclick", function() {
  $(this).replaceWith(
    "<pre class=\"screen\">" +
    "<pre class=\"screen\" title=\"Double-click to unwrap lines.\">" +
    $(this).html().replace(/(.|\n)+<!\-\-/m,"").replace(/\-\-\>/,"") +
    "</pre>");
});</script>
</script>
<link rel="shortcut icon" href="http://forgerock.org/favicon.ico">
&lt;/head&gt;</replacevalue>
                </replace>