mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
MINOR: Add disabled class to InlineFormAction, adjust Folder to use InlineFormAction rather than LiteralField for "Delete unused thumbnails" button.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@74168 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
d781e268e8
commit
429749535b
@ -77,10 +77,15 @@ li.action button {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.ajaxActions input.disabled {
|
||||
.ajaxActions input.disabled,
|
||||
input.disabled {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
input.disabled:hover {
|
||||
background-image: url(../images/textures/ToolBar.png);
|
||||
}
|
||||
|
||||
input.action.loading, input.action.loading:hover {
|
||||
padding-left: 22px;
|
||||
background: url(../images/network-save.gif) 3px 2px no-repeat;
|
||||
|
@ -474,7 +474,7 @@ appendLoader(function () {
|
||||
});
|
||||
|
||||
Behaviour.register({
|
||||
'#UnusedThumbnails button': {
|
||||
'#Form_EditForm_delete_unused_thumbnails': {
|
||||
onclick : function(event) {
|
||||
Event.stop(event);
|
||||
var options = {
|
||||
|
Loading…
Reference in New Issue
Block a user