Skip to content

Commit

Permalink
added missing namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
bhofstaetter authored Jul 2, 2020
1 parent 3dc5dad commit 56fa4a8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Forms/DependentDropdownField.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace Sheadawson\DependentDropdown\Forms;

use SilverStripe\Admin\LeftAndMain;
use SilverStripe\Control\Controller;
use SilverStripe\Forms\DropdownField;
use SilverStripe\Control\HTTPResponse;
use SilverStripe\Core\Convert;
Expand Down Expand Up @@ -170,7 +172,7 @@ public function setSource($source)
public function Field($properties = [])
{
if (!is_subclass_of(Controller::curr(), LeftAndMain::class)) {
Requirements::javascript('silverstripe/admin: thirdparty/jquery-entwine/dist/jquery.entwine-dist.js');
Requirements::javascript('silverstripe/admin:thirdparty/jquery-entwine/dist/jquery.entwine-dist.js');
}

Requirements::javascript(
Expand Down

0 comments on commit 56fa4a8

Please sign in to comment.