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:
Hamish Friedlander 2009-04-07 02:44:45 +00:00 committed by Sam Minnee
parent d781e268e8
commit 429749535b
2 changed files with 7 additions and 2 deletions

View File

@ -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;

View File

@ -474,7 +474,7 @@ appendLoader(function () {
});
Behaviour.register({
'#UnusedThumbnails button': {
'#Form_EditForm_delete_unused_thumbnails': {
onclick : function(event) {
Event.stop(event);
var options = {