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

Mark Craig
28.38.2012 e42689b8dc67a17dd6f3ec77d4e784568ee9e828
Fix for COMMWEB-44: Work around Firefox bug https://bugzilla.mozilla.org/show_bug.cgi?id=116083
1 files modified
10 ■■■■■ changed files
opendj3/pom.xml 10 ●●●●● patch | view | raw | blame | history
opendj3/pom.xml
@@ -411,6 +411,11 @@
<script type="text/javascript">
// On double-click, reformat <div class="screen"> for easy copying.
$(document).ready(function() {
  // Workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=116083
  if (navigator.userAgent.match(/Firefox/i)) {
    $(".screen").wrap("<pre />");
    $(".programlisting").wrap("<pre />");
  }
  $(".screen").attr("title", "Double-click [-] to flatten lines.");
  $(".screen").prepend('<img src="../images/minus.png" class="toggle">');
});
@@ -499,6 +504,11 @@
<script type="text/javascript">
// On double-click, reformat <div class="screen"> for easy copying.
$(document).ready(function() {
  // Workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=116083
  if (navigator.userAgent.match(/Firefox/i)) {
    $(".screen").wrap("<pre />");
    $(".programlisting").wrap("<pre />");
  }
  $(".screen").attr("title", "Double-click [-] to flatten lines.");
  $(".screen").prepend('<img src="./images/minus.png" class="toggle">');
});