You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by gj...@apache.org on 2012/11/13 12:16:59 UTC
svn commit: r1408679 -
/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_query.html
Author: gjm
Date: Tue Nov 13 11:16:59 2012
New Revision: 1408679
URL: http://svn.apache.org/viewvc?rev=1408679&view=rev
Log:
fix for missing batch modify checkbox column - #257
Modified:
incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_query.html
Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_query.html
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_query.html?rev=1408679&r1=1408678&r2=1408679&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_query.html (original)
+++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_query.html Tue Nov 13 11:16:59 2012
@@ -28,23 +28,25 @@
<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>