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

Fixes to be more compatible with Translatable module's javascript #46

Merged

Conversation

sanderha
Copy link

Change name of language form to "LangForm" and added a CSS class to the modeladmin template, so that translatables javascript will still work as it should. Also changed an array to old syntax so that it works with php 5.3

…he modeladmin template, so that translatables javascript will still work as it should. Also changed an array to old syntax so that it works with php 5.3
@@ -9,9 +9,9 @@ class TranslatableCatalogExtension extends Extension
/**
* @var array
*/
private static $allowed_actions = [
private static $allowed_actions = array(
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this need to be here when we are now using LangForm instead?

@stevie-mayhew
Copy link
Contributor

@sanderha thanks for this! Just one question :)

@sanderha
Copy link
Author

Ah it seem no longer to be required indeed. Would you mind removing it or should I do a PR?

@stevie-mayhew
Copy link
Contributor

@sanderha if you make the change on your local branch then push it up, it will update this PR. Can you do that?

@sanderha
Copy link
Author

There we go :)

stevie-mayhew added a commit that referenced this pull request Feb 23, 2016
Fixes to be more compatible with Translatable module's javascript
@stevie-mayhew stevie-mayhew merged commit d7927a3 into isobar-nz:master Feb 23, 2016
@stevie-mayhew
Copy link
Contributor

Awesome, thank you @sanderha !

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