Skip to content

Commit

Permalink
Remove unused properties in new format
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed May 22, 2017
1 parent c33bf70 commit b2e517e
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 19 deletions.
4 changes: 2 additions & 2 deletions client/galaxy/scripts/mvc/grid/grid-template.js
Expand Up @@ -215,7 +215,7 @@ return {
}
return tmpl;
},

// template
footer: function(options) {

Expand Down Expand Up @@ -304,7 +304,7 @@ return {
'<input type="hidden" id="operation" name="operation" value="">' +
'<td></td>' +
'<td colspan="100">' +
'For <span class="grid-selected-count"></span> selected ' + options.get_class_plural + ': ';
'For <span class="grid-selected-count"></span> selected items: ';

// configure buttons for operations
for (i in options.operations) {
Expand Down
1 change: 0 additions & 1 deletion client/galaxy/scripts/mvc/grid/grid-view.js
Expand Up @@ -40,7 +40,6 @@ return Backbone.View.extend({
url: grid_config.url_base,
success: function( response ) {
self.init_grid( response );
window.console.log( self.$el );
}
});
} else {
Expand Down
8 changes: 1 addition & 7 deletions lib/galaxy/web/framework/helpers/grids.py
Expand Up @@ -331,22 +331,16 @@ def url( *args, **kwargs ):
'operations' : [],
'items' : [],
'columns' : [],
'get_class_plural' : str( self.model_class ).lower(), #get_class_plural( grid.model_class ).lower(),
'model_class' : str( self.model_class ),
'use_paging' : self.use_paging,
'legend' : self.legend,
'current_item_id' : False,
##'use_panels' : context.get('use_panels'),
'use_hide_message' : self.use_hide_message,
'insert' : False, #insert,
'default_filter_dict' : self.default_filter,
'advanced_search' : self.advanced_search,
'refresh_frames' : [],
'embedded' : False, #embedded,
'info_text' : self.info_text,
'url' : url(dict())
}
#if refresh_frames:
# grid_config['refresh_frames'] = refresh_frames
if current_item:
grid_config['current_item_id'] = current_item.id
for column in self.columns:
Expand Down
2 changes: 1 addition & 1 deletion static/maps/mvc/grid/grid-template.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b2e517e

Please sign in to comment.