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

AjaxUniqueTextField is flagging a unique value when editing. #24

Closed
wants to merge 2 commits into from
Closed

Conversation

Firesphere
Copy link
Contributor

Fix for the currennt (Unique) value being flagged as false. The current ID is at position 5, for calling the AjaxUniqueTextField(), at position 5 aff $this->ID, so it's properly escaped in the validator.
A problem mentioned a few times in IRC as wel.

…nt ID is at position 5, for calling the AjaxUniqueTextField(), at position 5 aff $this->ID, so it's properly escaped in the validator.
@chillu
Copy link
Member

chillu commented Apr 20, 2011

Sorry, I don't understand what you're trying to do here. Could you add some inline documentation to the PHP file please?
Also, we can't change the parameter signature of the __construct() method, this would be an API change that needs careful consideration and will confuse a lot of people. I'd suggest a setID() method instead.

@Firesphere
Copy link
Contributor Author

Valid point on the construct. I've been using this for a while now, but I could find a better method preferably indeed.

@Firesphere
Copy link
Contributor Author

I'll have a look on a better method later. Right now, I got a projectmanager breathing down my neck.

@wilr
Copy link
Member

wilr commented Oct 28, 2012

Closing, doesn't merge cleanly and patch needs work. Looks like the field hasn't been updated to 3.0 yet but neither is it deprecated.

@wilr wilr closed this Oct 28, 2012
bergice pushed a commit to open-sausages/silverstripe-framework that referenced this pull request Nov 18, 2018
…eadcrumb_position

Make breadcrumbs and toolbar title position consistent
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.

None yet

3 participants