Skip to content

Commit

Permalink
Merge pull request #51 from collective/load-js-only-for-authenticated…
Browse files Browse the repository at this point in the history
…-users

Load js only for authenticated users
  • Loading branch information
gotcha committed Mar 4, 2016
2 parents 5070d1d + 7cfc94a commit 33f82c5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion docs/HISTORY.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ Changelog
4.3.6 (unreleased)
------------------

- Nothing changed yet.
- Load js only if you are an authenticated user.
[bsuttor]


4.3.5 (2016-02-16)
Expand Down
6 changes: 3 additions & 3 deletions src/collective/ckeditor/profiles/default/jsregistry.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
autogroup="False" debugmode="False">
<javascript cacheable="True" compression="safe" conditionalcomment=""
cookable="True" enabled="True" expression=""
id="ckeditor_vars.js" inline="False"/>
id="ckeditor_vars.js" inline="False" authenticated="True"/>
<javascript cacheable="True" compression="none" conditionalcomment=""
cookable="True" enabled="True" expression=""
id="++resource++ckeditor/ckeditor.js" inline="False"/>
id="++resource++ckeditor/ckeditor.js" inline="False" authenticated="True"/>
<javascript cacheable="True" compression="safe" conditionalcomment=""
cookable="True" enabled="True" expression=""
id="++resource++ckeditor_for_plone/ckeditor_plone.js" inline="False"
insert-after="++resource++ckeditor/ckeditor.js" />
insert-after="++resource++ckeditor/ckeditor.js" authenticated="True"/>
</object>

0 comments on commit 33f82c5

Please sign in to comment.