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/05/17 12:32:29 UTC

svn commit: r1339544 - /incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_query.html

Author: gjm
Date: Thu May 17 10:32:28 2012
New Revision: 1339544

URL: http://svn.apache.org/viewvc?rev=1339544&view=rev
Log:
theme: fixes js error on undefined batch_modify - towards #51

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=1339544&r1=1339543&r2=1339544&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_query.html (original)
+++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_query.html Thu May 17 10:32:28 2012
@@ -12,7 +12,7 @@
     <script type="text/javascript">/*<![CDATA[*/
       jQuery(document).ready(function($) {
         initializeFilters();
-        if(batch_modify) {
+        if(typeof batch_modify != 'undefined' && batch_modify) {
           initializeBatch();
         }
         $("#group").change(function() {