Skip to content

Commit

Permalink
Merge branch 'master' into zope-security
Browse files Browse the repository at this point in the history
  • Loading branch information
dataflake committed Apr 14, 2019
2 parents 02303e8 + 226adeb commit e1ed5fb
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 11 deletions.
3 changes: 3 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ Features
Other changes
+++++++++++++

- Remove hardcoded list of factories that don't want an add dialog
(`#540 <https://github.com/zopefoundation/Zope/issues/540>`_)

- Increase link visibility in old ZMI forms
(`#530 <https://github.com/zopefoundation/Zope/issues/530>`_)

Expand Down
1 change: 1 addition & 0 deletions buildout.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ parts =
requirements
sources-dir = develop
auto-checkout =
Products.ZCatalog

[testenv]
PYTHONHASHSEED = random
Expand Down
2 changes: 1 addition & 1 deletion constraints.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AccessControl==4.0b6
AccessControl==4.0b7
Acquisition==4.5
AuthEncoding==4.1
BTrees==4.5.1
Expand Down
2 changes: 1 addition & 1 deletion requirements-full.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-e git+https://github.com/zopefoundation/Zope.git@master#egg=Zope
AccessControl==4.0b6
AccessControl==4.0b7
Acquisition==4.5
AuthEncoding==4.1
BTrees==4.5.1
Expand Down
1 change: 0 additions & 1 deletion src/OFS/dtml/findForm.dtml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@
</dtml-in>
</select>
</div>
</div>
</td>
</tr>

Expand Down
8 changes: 1 addition & 7 deletions src/zmi/styles/resources/zmi_base.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,14 @@ function addItem( elm, base_url ) {

// Inserting Without Modal Dialog
var no_modal_dialog = {
'action':[
'manage_addRegistry',
'manage_addUserFolder',
'manage_addErrorLog',
'addPluggableAuthService',
],
'product':[
'CMFPlone',
'CMFEditions',
'zms',
]
};

if ( zmi_dialog != 'modal' || $.inArray(action, no_modal_dialog['action']) !== -1 || $.inArray(product, no_modal_dialog['product']) !== -1 ) {
if ( zmi_dialog != 'modal' || $.inArray(product, no_modal_dialog['product']) !== -1 ) {
window.location.href = url_full;
return
}
Expand Down
2 changes: 1 addition & 1 deletion versions-prod.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[versions]
Zope =
Zope2 = 4.0b1
AccessControl = 4.0b6
AccessControl = 4.0b7
Acquisition = 4.5
AuthEncoding = 4.1
BTrees = 4.5.1
Expand Down

0 comments on commit e1ed5fb

Please sign in to comment.