Commits

g...@13f79535-47bb-0310-9956-ffa450edef68  committed 69a7ee9

fix for missing batch modify checkbox column - #257

  • Participants
  • Parent commits fa43f0c

Comments (0)

Files changed (1)

File bhtheme/templates/bh_query.html

   <head>
     <title>$title</title>
     <script type="text/javascript" src="${chrome.htdocs_location}js/folding.js"></script>
-    <script type="text/javascript">/*<![CDATA[*/
+    <script type="text/javascript">
       jQuery(document).ready(function($) {
         initializeFilters();
-        if(typeof batch_modify != 'undefined' && batch_modify) {
+      <py:if test="batch_modify">
           initializeBatch();
-        }
+      </py:if>
         $("#group").change(function() {
           $("#groupdesc").enable(this.selectedIndex != 0)
         }).change();
         $("fieldset legend.foldable").enableFolding(false);
+      /*<![CDATA[*/
         /* Hide the filters for saved queries. */
         if (window.location.href.search(/[?&]report=[0-9]+/) != -1)
           $("#filters").toggleClass("collapsed");
+      /*]]>*/
         /* Hide the columns by default. */
         $("#columns").toggleClass("collapsed");
       });
-    /*]]>*/</script>
+    </script>
   </head>
 
   <body>