mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Readd data module that is needed to display dataset contents in Scratchbook.
This commit is contained in:
@@ -177,13 +177,15 @@ var DatasetListItemView = _super.extend(
|
||||
title : "Data Viewer: " + self.model.get( 'name' ),
|
||||
type : "other",
|
||||
content : function( parent_elt ){
|
||||
var new_dataset = new DATA.TabularDataset({ id: self.model.get( 'id' ) });
|
||||
$.when( new_dataset.fetch() ).then( function(){
|
||||
DATA.createTabularDatasetChunkedView({
|
||||
model: new_dataset,
|
||||
parent_elt: parent_elt,
|
||||
embedded: true,
|
||||
height: '100%'
|
||||
require(['mvc/data'], function(DATA) {
|
||||
var new_dataset = new DATA.TabularDataset({ id: self.model.get( 'id' ) });
|
||||
$.when( new_dataset.fetch() ).then( function(){
|
||||
DATA.createTabularDatasetChunkedView({
|
||||
model: new_dataset,
|
||||
parent_elt: parent_elt,
|
||||
embedded: true,
|
||||
height: '100%'
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user