Permalink
Browse files

MINOR Removed unnecessary (and unsemantic) element classes from forms…

… in AssetAdmin and CMSMain
  • Loading branch information...
chillu committed Apr 22, 2011
1 parent 58416e5 commit b5a0c1c5530b37ee94b9b6304a8df2730838d7ef
Showing with 0 additions and 4 deletions.
  1. +0 −1 code/controller/AssetAdmin.php
  2. +0 −3 code/controller/CMSMain.php
@@ -404,7 +404,6 @@ function SyncForm() {
$btn = new FormAction('doSync', _t('FILESYSTEMSYNC','Look for new files'))
)
);
- $form->addExtraClass('actionparams');
$form->setFormMethod('GET');
$btn->describe(_t('AssetAdmin_left.ss.FILESYSTEMSYNC_DESC', 'SilverStripe maintains its own database of the files & images stored in your assets/ folder. Click this button to update that database, if files are added to the assets/ folder from outside SilverStripe, for example, if you have uploaded files via FTP.'));
@@ -851,7 +851,6 @@ function SideReportsForm() {
)
);
$form->unsetValidator();
- $form->addExtraClass('oneline');
$this->extend('updateSideReportsForm', $form);
@@ -1302,8 +1301,6 @@ function AddForm() {
);
$form = new Form($this, "AddForm", $fields, $actions);
- $form->addExtraClass('actionparams');
- $form->addExtraClass('oneline');
return $form;
}

0 comments on commit b5a0c1c

Please sign in to comment.