diff --git a/code/MultipleFileAttachmentField.php b/code/MultipleFileAttachmentField.php index 89dfe70..219531d 100644 --- a/code/MultipleFileAttachmentField.php +++ b/code/MultipleFileAttachmentField.php @@ -29,6 +29,8 @@ class MultipleFileAttachmentField extends KickAssetField { */ public function FieldHolder() { if ($this->getForm()->getRecord()->hasExtension('ManyManySortable')){ + Requirements::javascript(THIRDPARTY_DIR.'/jquery/jquery.js'); + Requirements::javascript(THIRDPARTY_DIR.'/jquery-livequery/jquery.livequery.js'); Requirements::javascript(SAPPHIRE_DIR ."/thirdparty/jquery-ui/jquery-ui-1.8rc3.custom.js"); Requirements::javascript('kickassets/javascript/manymanysortable.js'); }