MINOR Fixed jquery-ui paths in FileIframeField

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@100851 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-03-11 02:29:25 +00:00 committed by Sam Minnee
parent 4c0afc4923
commit 092701dff8

View File

@ -49,11 +49,10 @@ class FileIFrameField extends FileField {
* @return string
*/
public function Field() {
Requirements::css(THIRDPARTY_DIR . '/jquery-ui-themes/default/ui.all.css');
Requirements::css(THIRDPARTY_DIR . '/jquery-ui-themes/base/jquery.ui.all.css');
Requirements::add_i18n_javascript(SAPPHIRE_DIR . '/javascript/lang');
Requirements::javascript(THIRDPARTY_DIR . '/jquery/jquery.js');
Requirements::javascript(THIRDPARTY_DIR . '/jquery-ui/ui.core.js');
Requirements::javascript(THIRDPARTY_DIR . '/jquery-ui/ui.dialog.js');
Requirements::javascript(THIRDPARTY_DIR . '/jquery-ui/jquery-ui-1.8rc3.custom.js');
if($this->form->getRecord() && $this->form->getRecord()->exists()) {