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

Баг обновления текстовых блоков при сохранении модели контактов #218

Open
FajeSu opened this issue Sep 16, 2016 · 0 comments

Comments

@FajeSu
Copy link
Contributor

FajeSu commented Sep 16, 2016

В файле BContactController.php в строке 137 должно быть BContactTextBlock

А в javascript, name="ContactTextBlock заменить на name="BContactTextBlock

// Добавить тестовое поле
  var textblockCounter = 0;
  $('.action.btn[data-action="add-textblock"]').on('click', function(){
    var name    = $('<input type="text" style="width:250px" name="BContactTextBlock[new][' + textblockCounter + '][name]"    placeholder="Заголовок" />');
    var sysname = $('<input type="text" style="width:250px" name="BContactTextBlock[new][' + textblockCounter + '][sysname]" placeholder="Системное имя" />');
FajeSu added a commit to FajeSu/argilla that referenced this issue Dec 7, 2016
Подключение JavaScript скриптов на форме вынесено в контроллер
Исправлен баг обновления существующих текстовых блоков
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

No branches or pull requests

1 participant