mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
4c0afc4923
commit
092701dff8
@ -49,11 +49,10 @@ class FileIFrameField extends FileField {
|
|||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function Field() {
|
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::add_i18n_javascript(SAPPHIRE_DIR . '/javascript/lang');
|
||||||
Requirements::javascript(THIRDPARTY_DIR . '/jquery/jquery.js');
|
Requirements::javascript(THIRDPARTY_DIR . '/jquery/jquery.js');
|
||||||
Requirements::javascript(THIRDPARTY_DIR . '/jquery-ui/ui.core.js');
|
Requirements::javascript(THIRDPARTY_DIR . '/jquery-ui/jquery-ui-1.8rc3.custom.js');
|
||||||
Requirements::javascript(THIRDPARTY_DIR . '/jquery-ui/ui.dialog.js');
|
|
||||||
|
|
||||||
|
|
||||||
if($this->form->getRecord() && $this->form->getRecord()->exists()) {
|
if($this->form->getRecord() && $this->form->getRecord()->exists()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user