Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Fix issue with RegExp for getting context and replace context in blueprint #200

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

legiar
Copy link

@legiar legiar commented Oct 9, 2012

Fix issue with getting contex. Javascript always replace backslash.

Also fix issue with replace context parents in content. For example:

project[tasks_attributes][0][assigments_sttributes[new_assigments][file_name]

will be replaced to

project[tasks_attributes][0][assigments_sttributes[0][file_name]

and will replace first child object after post.

@lest
Copy link
Collaborator

lest commented Oct 9, 2012

@legiar Seems like your change cause existing tests to fail. Could you please provide more details about the issue you're fixing? A test application reproducing it will be helpful. Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants