slice page working. added temporarily core and util classes from manifold core
[myslice.git] / plugins / hazelnut / hazelnut.js
index bbaf11e..dbe29b5 100644 (file)
             fnDrawCallback: function() { hazelnut_draw_callback.call(object, options); }
         };
        // the intention here is that options.datatables_options as coming from the python object take precedence
-       $.extend(actual_options, options.datatables_options );
+//     XXX DISABLED by jordan: was causing errors in datatables.js     $.extend(actual_options, options.datatables_options );
         this.table = $('#hazelnut-' + options.plugin_uuid).dataTable(actual_options);
 
         /* Setup the SelectAll button in the dataTable header */
      */
     function hazelnut_filter (oSettings, aData, iDataIndex) {
         var cur_query = this.current_query;
+        if (!cur_query) return true;
         var ret = true;
 
         /* We have an array of filters : a filter is an array (key op val)