mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
BUGFIX wrong jsparty PATH references
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63295 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
d129a22691
commit
b464952522
@ -951,9 +951,9 @@ HTML;
|
|||||||
function canceldraftchangesdialog() {
|
function canceldraftchangesdialog() {
|
||||||
Requirements::clear();
|
Requirements::clear();
|
||||||
Requirements::css(CMS_DIR . 'css/dialog.css');
|
Requirements::css(CMS_DIR . 'css/dialog.css');
|
||||||
Requirements::javascript(THIRDPARTY_DIR . 'jsparty/prototype.js');
|
Requirements::javascript(THIRDPARTY_DIR . '/prototype.js');
|
||||||
Requirements::javascript(THIRDPARTY_DIR . 'jsparty/behaviour.js');
|
Requirements::javascript(THIRDPARTY_DIR . '/behaviour.js');
|
||||||
Requirements::javascript(THIRDPARTY_DIR . 'jsparty/prototype_improvements.js');
|
Requirements::javascript(THIRDPARTY_DIR . '/prototype_improvements.js');
|
||||||
Requirements::javascript(CMS_DIR . '/javascript/dialog.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?");
|
$message = _t('CMSMain.COPYPUBTOSTAGE',"Do you really want to copy the published content to the stage site?");
|
||||||
|
@ -18,8 +18,8 @@ class ImageEditor extends Controller {
|
|||||||
*/
|
*/
|
||||||
public function index() {
|
public function index() {
|
||||||
Requirements::clear();
|
Requirements::clear();
|
||||||
Requirements::javascript(THIRDPARTY_DIR . 'jsparty/prototype.js');
|
Requirements::javascript(THIRDPARTY_DIR . '/prototype.js');
|
||||||
Requirements::javascript(THIRDPARTY_DIR . 'jsparty/scriptaculous/scriptaculous.js');
|
Requirements::javascript(THIRDPARTY_DIR . '/scriptaculous/scriptaculous.js');
|
||||||
Requirements::javascript(CMS_DIR . '/javascript/ImageEditor/Utils.js');
|
Requirements::javascript(CMS_DIR . '/javascript/ImageEditor/Utils.js');
|
||||||
Requirements::javascript(CMS_DIR . '/javascript/ImageEditor/ImageHistory.js');
|
Requirements::javascript(CMS_DIR . '/javascript/ImageEditor/ImageHistory.js');
|
||||||
Requirements::javascript(CMS_DIR . '/javascript/ImageEditor/Image.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/ImageEditor.js');
|
||||||
Requirements::javascript(CMS_DIR . '/javascript/ImageEditor/DocumentBody.js');
|
Requirements::javascript(CMS_DIR . '/javascript/ImageEditor/DocumentBody.js');
|
||||||
|
|
||||||
Requirements::javascript(THIRDPARTY_DIR . 'jsparty/loader.js');
|
Requirements::javascript(THIRDPARTY_DIR . '/loader.js');
|
||||||
Requirements::javascript(THIRDPARTY_DIR . 'jsparty/behaviour.js');
|
Requirements::javascript(THIRDPARTY_DIR . '/behaviour.js');
|
||||||
Requirements::javascript(CMS_DIR . '/javascript/LeftAndMain.js');
|
Requirements::javascript(CMS_DIR . '/javascript/LeftAndMain.js');
|
||||||
Requirements::css(CMS_DIR . 'css/ImageEditor/ImageEditor.css');
|
Requirements::css(CMS_DIR . 'css/ImageEditor/ImageEditor.css');
|
||||||
|
|
||||||
|
@ -100,9 +100,9 @@ class PageCommentInterface extends RequestHandlingData {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function PostCommentForm() {
|
function PostCommentForm() {
|
||||||
Requirements::javascript(THIRDPARTY_DIR . 'jsparty/behaviour.js');
|
Requirements::javascript(THIRDPARTY_DIR . '/behaviour.js');
|
||||||
Requirements::javascript(THIRDPARTY_DIR . 'jsparty/prototype.js');
|
Requirements::javascript(THIRDPARTY_DIR . '/prototype.js');
|
||||||
Requirements::javascript(THIRDPARTY_DIR . 'jsparty/scriptaculous/effects.js');
|
Requirements::javascript(THIRDPARTY_DIR . '/scriptaculous/effects.js');
|
||||||
Requirements::javascript(CMS_DIR . '/javascript/PageCommentInterface.js');
|
Requirements::javascript(CMS_DIR . '/javascript/PageCommentInterface.js');
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user