mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Using jquery-latest.js in FileIframeField and RemoveOrphanedPagesTask
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92476 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
b8862a34ff
commit
053431aaf0
@ -51,7 +51,7 @@ class FileIFrameField extends FileField {
|
||||
public function Field() {
|
||||
Requirements::css(THIRDPARTY_DIR . '/jquery/themes/default/ui.all.css');
|
||||
Requirements::add_i18n_javascript(SAPPHIRE_DIR . '/javascript/lang');
|
||||
Requirements::javascript(THIRDPARTY_DIR . '/jquery/jquery.js');
|
||||
Requirements::javascript(THIRDPARTY_DIR . '/jquery/jquery-latest.js');
|
||||
Requirements::javascript(THIRDPARTY_DIR . '/jquery/ui/ui.core.js');
|
||||
Requirements::javascript(THIRDPARTY_DIR . '/jquery/ui/ui.dialog.js');
|
||||
|
||||
@ -97,7 +97,7 @@ class FileIFrameField extends FileField {
|
||||
// clear the requirements added by any parent controllers
|
||||
Requirements::clear();
|
||||
Requirements::add_i18n_javascript('sapphire/javascript/lang');
|
||||
Requirements::javascript('jsparty/jquery/jquery.js');
|
||||
Requirements::javascript('jsparty/jquery/jquery-latest.js');
|
||||
Requirements::javascript('sapphire/javascript/FileIFrameField.js');
|
||||
|
||||
Requirements::css('cms/css/typography.css');
|
||||
|
@ -61,7 +61,7 @@ in the other stage:<br />
|
||||
}
|
||||
|
||||
function index() {
|
||||
Requirements::javascript(THIRDPARTY_DIR . '/jquery/jquery.js');
|
||||
Requirements::javascript(THIRDPARTY_DIR . '/jquery/jquery-latest.js');
|
||||
Requirements::customCSS('#OrphanIDs .middleColumn {width: auto;}');
|
||||
Requirements::customCSS('#OrphanIDs label {display: inline;}');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user