Browse files

MINOR Using jquery-latest.js in FileIframeField and RemoveOrphanedPag…

…esTask

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92476 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent b8862a3 commit 053431aaf021b263715c433b3d852e959d6ff093 @chillu chillu committed Nov 21, 2009
Showing with 3 additions and 3 deletions.
  1. +2 −2 forms/FileIFrameField.php
  2. +1 −1 tasks/RemoveOrphanedPagesTask.php
View
4 forms/FileIFrameField.php
@@ -51,7 +51,7 @@ public function dataClass() {
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 @@ public function iframe() {
// 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');
View
2 tasks/RemoveOrphanedPagesTask.php
@@ -61,7 +61,7 @@ function init() {
}
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;}');

0 comments on commit 053431a

Please sign in to comment.