File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
cms/templates/cms/toolbar Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
=== 3.5.1 (unreleased) ===
B2B2
2
2
3
+ * Fixed a bug where editing pages with primary keys greater than 9999 would throw an
4
+ exception.
3
5
* Fixed a ``MultipleObjectsReturned`` exception raised on the page types migration
4
6
with multiple page types per site.
5
7
* Fixed a bug which prevented toolbar js from working correctly when rendered
Original file line number Diff line number Diff line change 18
18
'request' : {
19
19
'language' : '{{ cms_toolbar.language }}' ,
20
20
'model' : '{{ cms_toolbar.get_object_model }}' ,
21
- 'page_id' : '{% if request.current_page.publisher_is_draft %}{{ request.current_page.pk }}{% else %}{{ request.current_page.publisher_public_id }}{% endif %}' ,
22
- 'pk' : '{{ cms_toolbar.get_object_pk }}' ,
21
+ 'page_id' : '{% if request.current_page.publisher_is_draft %}{{ request.current_page.pk|unlocalize }}{% else %}{{ request.current_page.publisher_public_id|unlocalize }}{% endif %}' ,
22
+ 'pk' : '{{ cms_toolbar.get_object_pk|unlocalize }}' ,
23
23
'url' : '{% language cms_toolbar.language %}{% cms_admin_url "cms_page_resolve" %}{% endlanguage %}' ,
24
24
'toolbar' : '{% language cms_toolbar.language %}{% cms_admin_url "cms_usersettings_get_toolbar" %}{% endlanguage %}'
25
25
} ,
You can’t perform that action at this time.
0 commit comments