nemesis-software / nemesis-consoles

The nemesis back-office javascript applications.
https://docs.nemesis.io/current/consoles/
GNU General Public License v3.0
0 stars 0 forks source link

[backend] error when changing between languages while search form is open. #139

Open gochev opened 8 years ago

gochev commented 8 years ago

If you open a search form for example product search and then change the languages from English to Bulgarian a javascript error is caused by the translateObj() method in translate.js

It looks the problem is that there we are trying to find a textfield inside the search field but in 1.0 we changed the search form to have multiple types of search fields and to be NOT only textfield.

gochev commented 8 years ago

Currently there is no javascript error, however the "emptyText" is NOT translated when you change the languages while the search form is open. In order to do this is hard since you have to handle all field cases + even user defined fields and you cannot depend on css selectors or something.