commit/galaxy-central: jgoecks: Readd data module that is needed to display dataset contents in Scratchbook.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/86c487b0c65f/ Changeset: 86c487b0c65f User: jgoecks Date: 2014-08-14 23:04:06 Summary: Readd data module that is needed to display dataset contents in Scratchbook. Affected #: 1 file diff -r de58677d81111fc0e84580607f1919f02c21f221 -r 86c487b0c65f0d4ba4ce0c33432f3727c619921c static/scripts/mvc/dataset/dataset-li.js --- a/static/scripts/mvc/dataset/dataset-li.js +++ b/static/scripts/mvc/dataset/dataset-li.js @@ -177,13 +177,15 @@ 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%' + }); }); }); } Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org