diff --git a/code/CMSMain.php b/code/CMSMain.php index f5bc63aa..0e34fb66 100644 --- a/code/CMSMain.php +++ b/code/CMSMain.php @@ -951,9 +951,9 @@ HTML; function canceldraftchangesdialog() { Requirements::clear(); Requirements::css(CMS_DIR . 'css/dialog.css'); - Requirements::javascript(THIRDPARTY_DIR . 'jsparty/prototype.js'); - Requirements::javascript(THIRDPARTY_DIR . 'jsparty/behaviour.js'); - Requirements::javascript(THIRDPARTY_DIR . 'jsparty/prototype_improvements.js'); + Requirements::javascript(THIRDPARTY_DIR . '/prototype.js'); + Requirements::javascript(THIRDPARTY_DIR . '/behaviour.js'); + Requirements::javascript(THIRDPARTY_DIR . '/prototype_improvements.js'); Requirements::javascript(CMS_DIR . '/javascript/dialog.js'); $message = _t('CMSMain.COPYPUBTOSTAGE',"Do you really want to copy the published content to the stage site?"); diff --git a/code/ImageEditor.php b/code/ImageEditor.php index d0b74169..1043a033 100644 --- a/code/ImageEditor.php +++ b/code/ImageEditor.php @@ -18,8 +18,8 @@ class ImageEditor extends Controller { */ public function index() { Requirements::clear(); - Requirements::javascript(THIRDPARTY_DIR . 'jsparty/prototype.js'); - Requirements::javascript(THIRDPARTY_DIR . 'jsparty/scriptaculous/scriptaculous.js'); + Requirements::javascript(THIRDPARTY_DIR . '/prototype.js'); + Requirements::javascript(THIRDPARTY_DIR . '/scriptaculous/scriptaculous.js'); Requirements::javascript(CMS_DIR . '/javascript/ImageEditor/Utils.js'); Requirements::javascript(CMS_DIR . '/javascript/ImageEditor/ImageHistory.js'); Requirements::javascript(CMS_DIR . '/javascript/ImageEditor/Image.js'); @@ -33,8 +33,8 @@ class ImageEditor extends Controller { Requirements::javascript(CMS_DIR . '/javascript/ImageEditor/ImageEditor.js'); Requirements::javascript(CMS_DIR . '/javascript/ImageEditor/DocumentBody.js'); - Requirements::javascript(THIRDPARTY_DIR . 'jsparty/loader.js'); - Requirements::javascript(THIRDPARTY_DIR . 'jsparty/behaviour.js'); + Requirements::javascript(THIRDPARTY_DIR . '/loader.js'); + Requirements::javascript(THIRDPARTY_DIR . '/behaviour.js'); Requirements::javascript(CMS_DIR . '/javascript/LeftAndMain.js'); Requirements::css(CMS_DIR . 'css/ImageEditor/ImageEditor.css'); diff --git a/code/sitefeatures/PageCommentInterface.php b/code/sitefeatures/PageCommentInterface.php index 57860efd..4eebf6f5 100755 --- a/code/sitefeatures/PageCommentInterface.php +++ b/code/sitefeatures/PageCommentInterface.php @@ -100,9 +100,9 @@ class PageCommentInterface extends RequestHandlingData { } function PostCommentForm() { - Requirements::javascript(THIRDPARTY_DIR . 'jsparty/behaviour.js'); - Requirements::javascript(THIRDPARTY_DIR . 'jsparty/prototype.js'); - Requirements::javascript(THIRDPARTY_DIR . 'jsparty/scriptaculous/effects.js'); + Requirements::javascript(THIRDPARTY_DIR . '/behaviour.js'); + Requirements::javascript(THIRDPARTY_DIR . '/prototype.js'); + Requirements::javascript(THIRDPARTY_DIR . '/scriptaculous/effects.js'); Requirements::javascript(CMS_DIR . '/javascript/PageCommentInterface.js');