mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Remove unused properties in new format
This commit is contained in:
@@ -215,7 +215,7 @@ return {
|
||||
}
|
||||
return tmpl;
|
||||
},
|
||||
|
||||
|
||||
// template
|
||||
footer: function(options) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -331,22 +331,16 @@ class Grid( object ):
|
||||
'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:
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -94,7 +94,7 @@
|
||||
'operations' : [],
|
||||
'items' : [],
|
||||
'columns' : [],
|
||||
'get_class_plural' : get_class_plural( grid.model_class ).lower(),
|
||||
'model_class' : str( grid.model_class ),
|
||||
'use_paging' : grid.use_paging,
|
||||
'legend' : grid.legend,
|
||||
'current_item_id' : False,
|
||||
|
||||
Reference in New Issue
Block a user