Commit Graph

466 Commits

Author SHA1 Message Date
Simon Welsh 32ad517cfd Merge pull request #957 from patbolo/ticket/add-page-applying-to-add-folder
BUGFIX Only apply the logic for adding page type to the Pages section, n...
2014-03-16 20:31:03 +13:00
jean 3d59e2f0ff BUGFIX Only apply the logic for adding page type to the Pages section, not the assets 2014-02-26 11:33:38 +13:00
Giulio Bonanome 57bf2927af Fixed js bug on Files and Images tree
Call observeMethod only if ($(_HANDLER_FORMS.addpage).elements.PageType) exist to prevent javascript error on File & Images page.
2014-02-13 18:12:50 +01:00
Lee Bradley f4b7fe05fa Fix for 'Create' page dropdown not always updating when selecting a new page in the SiteTree
This was only updated when the 'Create' page options was open, so if you selected a different page and then clicked the 'Create' button it would have the original options
2013-12-12 21:03:19 +01:00
oilee80 4ec85a412f Back, Delete and Save Buttons in Admin Panels not appearing on first click
The 'Back', 'Delete' and 'Save' buttons on the Admin panel don't appear if you go straight into a DataObject item,

You needed to click 'Search' first, this added an extra item to the history array, have changed the condition for the number of items in this array before the buttons appear, now only 1 item needs to be in the Array
2013-10-16 21:26:43 +02:00
Ingo Schommer 3aef9fef1e Merge remote-tracking branch 'origin/2.4' into post-2.4
Conflicts:
	composer.json
	javascript/CMSMain_left.js
	javascript/LeftAndMain.js
2013-01-06 22:37:56 +01:00
Ingo Schommer 41aec54e88 BUG Consistently use FormResponse in CMS JavaScript (fixes #8036)
Regression caused by a security fix in 9bf3ae9a190
2012-12-04 12:07:17 +01:00
Sam Minnee 7c863341ea Merge branch '2.4' into post-2.4 2012-02-03 09:42:30 +13:00
Ingo Schommer 55ad61e4c3 ENHANCEMENT Using new URLSegmentFilter API in SiteTree->generateURLSegment(), allowing customisation of URL filtering and transliteration 2012-01-31 15:13:16 +01:00
Ingo Schommer 5d9c49a321 ENHANCEMENT Showing full error message in LeftAndMain JavaScript if Ajax response comes through as text/plain 2012-01-13 00:30:19 +01:00
Ingo Schommer 323edd03cb BUGFIX Check original page type of VirtualPage when doing tree drop target checks (AIR-81) 2012-01-12 22:39:49 +01:00
Ingo Schommer 7645f5fb22 Merge pull request #14 from lku/tinymce_ssbuttons_cz
CZ translation for tinymce_ssbuttons plugin
2011-12-18 08:05:28 -08:00
Ingo Schommer b0a99ad3e2 BUGFIX Use jQuery.serialize() instead of an ancient version of prototype's Form.serializeWithoutButtons() in LeftAndMain.js (it fails to serialise <select multiple> properly) (AIR-35) 2011-09-14 09:25:00 +02:00
Ingo Schommer 6c922bd32b BUGFIX Allowing overflowing "insert link/image/flash" panel in CMS to scroll (AIR-17) 2011-09-05 15:04:53 +02:00
Julian Seidenberg af0bf453b2 BUGFIX: fixing random changing of access tab radio buttons when refreshing the CMS with a URL such as /admin#Root_Access in Firefox. 2011-08-31 10:31:33 +12:00
Ingo Schommer 29b9452df9 MINOR Avoid stale version state in VersionList javascript (AIR-22) 2011-08-30 14:07:45 +02:00
Ingo Schommer f55e21ec3a MINOR More user friendly responses on model layer errors (ValidationException) in CMSMain and LeftAndMain 2011-08-29 15:10:32 +02:00
Ingo Schommer 4ecd5d9adf BUGFIX Disable CMS buttons while ajax request is executing to avoid double submissions 2011-08-22 16:11:28 +02:00
Ladislav Kubes 1f0277b781 Add some missing CZ translations in cms javascript 2011-06-09 17:21:49 +02:00
Ladislav Kubes aa748113e3 CZ translation for tinymce_ssbuttons plugin 2011-06-09 11:34:08 +02:00
Ingo Schommer 05f14de2cb MINOR Added NL translation for tinymce_ssbuttons (thanks Simon Erkelens) 2011-04-20 19:03:13 +12:00
Andreas Piening 3ba6e70540 MINOR: fixed visual glitch in CMS access tab for IE
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@114062 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:51 +13:00
Saophalkun Ponlu 75f12d5a7e ENHANCEMENT: Update Asset's left and right panels with filders and files after 'Look for new files' was triggered (open #5543)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@113871 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:51 +13:00
Ingo Schommer c19aa2ce85 MINOR Making some JavaScript strings in cms/javascript translatable, and updated their cs_CZ and sk_SK translations (fixes #6085, thanks Pike)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@113689 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:51 +13:00
Ingo Schommer bc3df654bd API CHANGE Fixed various controllers to enforce CSRF protection through Form_SecurityToken on GET actions that are not routed through Form->httpSubmission(): AssetAdmin, CMSBatchActionHandler, CMSMain, CommentTableField, LeftAndMain, MemberTableField, PageComment, PageComment_Controller
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@113282 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:50 +13:00
Ingo Schommer 4bc9a5aee8 MINOR Removed unused SecurityAdmin->MemberForm() and savemember() (see MemberTableField)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@113281 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:50 +13:00
Ingo Schommer ba4da1fa63 MINOR Javascript translations in CMSMain_right.js (fixes #6142)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@113248 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:49 +13:00
Jean-Fabien Barrios c0f8b44f3f ENHANCEMENT Added localisation for batch actions in javascript + translations
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@111915 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:49 +13:00
Ingo Schommer 9ccf28e254 MINOR Fixed indentation in PageCommentInterface.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@111497 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:48 +13:00
Saophalkun Ponlu 2ec69aa597 MINOR: Add translation correction for Czech and add Slovakian translation in cms and sapphire (js). Thanks to @Pike
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@111262 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:47 +13:00
Ingo Schommer 1aaa4b069b MINOR German translations for cms javascript (#5921, thanks bartlomiej)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@110435 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:46 +13:00
Luke Hudson 229760a1e1 MINOR: Add some documentation to LeftAndMain_right.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@108559 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:46 +13:00
Ingo Schommer 155a04578d BUGFIX Checking for existence of $('SwitchView') (fixes #5282)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@108436 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:45 +13:00
Sam Minnee 1730d01cc8 BUGFIX: Open help in a new tab.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@106121 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:41 +13:00
Mark Stephens 5b3ef295d9 BUGFIX: image search was not honouring the selected folder, so could only search in root folder
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@106086 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:41 +13:00
Carlos Barberis 1b6741e08d BUGFIX: avoid adding loading class to TinyMCE add link, image, flash buttons
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@105505 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:39 +13:00
Ingo Schommer fc19125698 API CHANGE Removed ImageEditor functionality, please use thirdparty modules, e.g. "silverstripe-pixlr" (http://github.com/nyeholt/silverstripe-pixlr)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@104987 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:35 +13:00
Luke Hudson 5a083b9b1d BUGFIX: Fix ModelAdmin Import hang (ticket 5569)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@104533 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:34 +13:00
Sean Harvey b5cdd69598 MINOR Removed ForumAdmin.js which shouldn't belong in the CMS module
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@104490 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:33 +13:00
Luke Hudson 9b593dcae5 BUGFIX: Fix linkCount .js in AssetAdmin deleteRecord (ticket #5486)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@103734 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:31 +13:00
Tom Rix 07ab02b29d BUGFIX allow HTMLEditorFields to save in SiteConfig, fixes #5246
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@102160 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:25 +13:00
Ingo Schommer f3f129f44b MINOR Saving TinyMCE editor focus in tinymce_ssbuttons plugin when sidepanel is opened (see #5263)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@101974 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:25 +13:00
Ingo Schommer 77718a05f0 MINOR Fixed indentation
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@101971 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:25 +13:00
Ingo Schommer f5be047b97 BUGFIX Stop IE6/IE7 from redirecting in admin/assets after deleting multiple folders (fixes #5208)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@101969 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:24 +13:00
Ingo Schommer b055154586 BUGFIX Fixed "object not found" javascript error in SecurityAdmin_right.js when changing group nodes (fixes #5179)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@101956 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:24 +13:00
Ingo Schommer a59fcdd430 MINOR Removed unnecessary console.*() from cms javascript files
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@101754 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:22 +13:00
Ingo Schommer 0e2c39593f MINOR Fixed getElementsByClassName() usage in AssetTableField.js (fixes #5256)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@101723 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:21 +13:00
Mateusz Uzdowski 0449a6bc7d BUGFIX: remove the unnecessary DOM manipulation, this is legacy code due to SilverStripeNavigator changes (open #5250)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@101604 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:18 +13:00
Mateusz Uzdowski ba3fbe101b BUGFIX: IE does not accept TD element without a table, repacking into DIV (open #5228)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@101602 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:17 +13:00
Ingo Schommer d8736b9386 MINOR Using jquery.live instead of livequery in MemberImportForm.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@100888 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:53:14 +13:00