Skip to content

Commit

Permalink
Merge branch '2.2' into 2
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Apr 13, 2024
2 parents a667c2d + 3a2b82a commit 5f169e1
Show file tree
Hide file tree
Showing 13 changed files with 19 additions and 4 deletions.
2 changes: 1 addition & 1 deletion client/dist/js/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion client/dist/styles/bundle.css

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions client/src/legacy/LeftAndMain.Preview.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import $ from 'jquery';
import i18n from 'i18n';
import $ from 'jquery';

$.entwine('ss.preview', function($){

Expand Down Expand Up @@ -506,8 +506,10 @@ $.entwine('ss.preview', function($){
var id = $(doc).find('meta[name=x-page-id]').attr('content');
var editLink = $(doc).find('meta[name=x-cms-edit-link]').attr('content');
var contentPanel = $('.cms-content');
// ID may not be on the page
var inputId = contentPanel.find(':input[name=ID]').val();

if(id && contentPanel.find(':input[name=ID]').val() != id) {
if(id && (inputId !== undefined && inputId != id)) {
// Ignore behaviour without history support (as we need ajax loading
// for the new form to load in the background)
$('.cms-container').entwine('.ss').loadPanel(editLink);
Expand Down
4 changes: 4 additions & 0 deletions client/src/styles/legacy/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,10 @@ button.loading {
}
}
}

.ui-accordion-content-active:not([style*="height"]) {
overflow: visible;
}
}


Expand Down
1 change: 1 addition & 0 deletions tests/behat/features/gridfield-import.feature
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@retry
Feature: Import in GridField
As a site owner
I want confidence that only users with permission can import records
Expand Down
1 change: 1 addition & 0 deletions tests/behat/features/gridfield-search.feature
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@retry
Feature: Search in GridField
As an author
I want to search an item in the CMS
Expand Down
1 change: 1 addition & 0 deletions tests/behat/features/gridfield-toast-messages.feature
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@retry
Feature: Show toast messages
As an author
I want to see toast message in the CMS when I create, edit, delete, publish, unpublish, archive a record
Expand Down
1 change: 1 addition & 0 deletions tests/behat/features/gridfield-with-arbitrarydata.feature
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@retry
Feature: Use Gridfield with arbitrary data
As a developer
I want to be able to view and edit data from some arbitrary source
Expand Down
1 change: 1 addition & 0 deletions tests/behat/features/gridfield-with-arraydata.feature
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@retry
Feature: Use Gridfield with ArrayData
As a developer
I want to be able to view read-only data from some arbitrary source
Expand Down
1 change: 1 addition & 0 deletions tests/behat/features/multitab-validation.feature
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@retry
Feature: Multi-tab page validation icons
As a content author
I want to see which tabs have form fields that failed validation
Expand Down
1 change: 1 addition & 0 deletions tests/behat/features/notfound.feature
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@retry
Feature: Not found
As a site owner
I want error messages to be displayed in the context of the admin section
Expand Down
1 change: 1 addition & 0 deletions tests/behat/features/site-settings.feature
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@retry
Feature: Site settings
As a site owner
I want to be able to change site settings
Expand Down
1 change: 1 addition & 0 deletions tests/behat/features/validation.feature
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@retry
Feature: Form validation
As a content author
I want form validation to work in the CMS
Expand Down

0 comments on commit 5f169e1

Please sign in to comment.