commit/galaxy-central: carlfeberhard: history panel: Show/enable display icon-button for non-ready-state hdas
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/b9d44cf4b68e/ changeset: b9d44cf4b68e user: carlfeberhard date: 2013-01-18 16:45:20 summary: history panel: Show/enable display icon-button for non-ready-state hdas affected #: 1 file diff -r c8cb184472b913c635fb34f31e4122c3c1f77e87 -r b9d44cf4b68e2c4a76bc2b7f7eb54950e2c077be static/scripts/mvc/dataset/hda-base.js --- a/static/scripts/mvc/dataset/hda-base.js +++ b/static/scripts/mvc/dataset/hda-base.js @@ -198,15 +198,14 @@ * @returns {jQuery} rendered DOM */ _render_displayButton : function(){ - // don't show display if not in ready state or not accessible - // DO show if in error (ala previous history panel) - if( ( !this.model.inReadyState() ) - //|| ( this.model.get( 'state' ) === HistoryDatasetAssociation.STATES.ERROR ) - || ( this.model.get( 'state' ) === HistoryDatasetAssociation.STATES.NOT_VIEWABLE ) + // don't show display if not viewable or not accessible + // (do show if in error, running) + if( ( this.model.get( 'state' ) === HistoryDatasetAssociation.STATES.NOT_VIEWABLE ) || ( !this.model.get( 'accessible' ) ) ){ this.displayButton = null; return null; } + //NOTE: line 88 in history_common.mako should be handled by the url template generation var displayBtnData = { icon_class : 'display', 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)
-
Bitbucket