mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge pull request #1689 from ninty9notout/master
Removed dud Requirements breaking the RedirectorPage
This commit is contained in:
commit
669a7e6945
@ -6,7 +6,6 @@ use SilverStripe\Forms\HeaderField;
|
||||
use SilverStripe\Forms\OptionsetField;
|
||||
use SilverStripe\Forms\TextField;
|
||||
use SilverStripe\Forms\TreeDropdownField;
|
||||
use SilverStripe\View\Requirements;
|
||||
use Page;
|
||||
|
||||
/**
|
||||
@ -139,8 +138,6 @@ class RedirectorPage extends Page {
|
||||
}
|
||||
|
||||
public function getCMSFields() {
|
||||
Requirements::javascript(CMS_DIR . '/client/dist/js/RedirectorPage.js');
|
||||
|
||||
$fields = parent::getCMSFields();
|
||||
$fields->removeByName('Content', true);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user