manifold: imprved plugin class with helpers for naming HTML tags in plugins
[unfold.git] / plugins / googlemap / googlemap.js
index 69db6ef..c9d3923 100644 (file)
                 case FILTER_ADDED:
                 case FILTER_REMOVED:
                 case CLEAR_FILTERS:
-                    // XXX Here we might need to maintain the list of filters !
-                    /* Process updates in filters / current_query must be updated before this call for filtering ! */
-                    object.table.fnDraw();
                     break;
 
                 // Fields
                 /* Hide/unhide columns to match added/removed fields */
                 case FIELD_ADDED:
-                    var object = this;
-                    $.each(added_fields, function (index, field) {            
-                        var index = object.getColIndex(field,cols);
-                        if(index != -1)
-                            object.table.fnSetColumnVis(index, true);
-                    });
                     break;
                 case FIELD_REMOVED:
-                    var object = this;
-                    $.each(removed_fields, function (index, field) {
-                        var index = object.getColIndex(field,cols);
-                        if(index != -1)
-                            object.table.fnSetColumnVis(index, false);
-                    });            
                     break;
                 case CLEAR_FIELDS:
                     alert('GoogleMaps::clear_fields() not implemented');