Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUGFIX: Fix error notification on files (fixes: 7295) #436

Merged

Conversation

adrexia
Copy link
Contributor

@adrexia adrexia commented May 11, 2012

Add title text to all status messages
Make room for the error message details by expanding the name area in
the file details
Fix up changes status to work with selects

http://open.silverstripe.org/ticket/7295

Add title text to all status messages
Make room for the error message details by expanding the name area in
the file details
Fix up changes status to work with selects
});
}


Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UploadField shouldn't make any assumptions about the UI controls used in the edit form (like chosen.js) - I've refactored this to a more generic onchange listener

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh, was wondering how to do that. :)

chillu added a commit that referenced this pull request May 11, 2012
---

Add title text to all status messages
Make room for the error message details by expanding the name area in
the file details
Fix up changes status to work with selects

http://open.silverstripe.org/ticket/7295
@chillu chillu merged commit 9844328 into silverstripe:master May 11, 2012
sabina-talipova pushed a commit to creative-commoners/silverstripe-framework that referenced this pull request Oct 18, 2022
…en dimensions are not numeric (silverstripe#436)

* Cast image dimensions from shortcode as int

This prevents sizes like '50%' from triggering exceptions.
Fixes silverstripe#434 (or at least prevents an exception)

* Add a test for non-integer imagesize handling in shortcodes

Quick/first attempt...

* Escape legit percent sign in sprintf string

Co-authored-by: Maxime Rainville <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants