mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
History panel: fix disabled class on icon buttons
This commit is contained in:
@@ -74,7 +74,7 @@ var HDAEditView = hdaBase.HDABaseView.extend( LoggableMixin ).extend(
|
||||
|
||||
// disable if purged or deleted and explain why in the tooltip
|
||||
if( deleted || purged ){
|
||||
editBtnData.enabled = false;
|
||||
editBtnData.disabled = true;
|
||||
if( purged ){
|
||||
editBtnData.title = _l( 'Cannot edit attributes of datasets removed from disk' );
|
||||
} else if( deleted ){
|
||||
@@ -117,7 +117,7 @@ var HDAEditView = hdaBase.HDABaseView.extend( LoggableMixin ).extend(
|
||||
deleteBtnData = {
|
||||
title : _l( 'Dataset is already deleted' ),
|
||||
icon_class : 'delete',
|
||||
enabled : false
|
||||
disabled : true
|
||||
};
|
||||
}
|
||||
deleteBtnData.faIcon = 'fa-times';
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user