Custom Toolbar does not work

Custom Toolbar does not work

schierschier Posts: 5Questions: 2Answers: 0
edited December 2014 in Free community support

Hi everyone,
I just tried to add an additional checkbox next to the search input in the upper toolbar and I couldn't make it work for hours.

Now I finally found out, that it didn't work because of the german localization I use. Do you have any idea why?

The localization file has no styling in it or something, I don't understand this issue.

Unfortunately I can't make the localized demo work in jsfiddle.

Thank you in advance and best regards

Answers

  • allanallan Posts: 63,530Questions: 1Answers: 10,473 Site admin

    Without a link to a test case showing the issue, it is extremely difficult to say what the issue is. At the very least we'd need to see the german localisation you are using if that is causing the issue, since I have no idea what the problem with it might be!

    Allan

  • schierschier Posts: 5Questions: 2Answers: 0

    I am using the default german localization from here. It might also happen with other localization files, I fixed it, by not using an localization file specified with the "url"-parameter, but putting the translation directly into the initialization

  • allanallan Posts: 63,530Questions: 1Answers: 10,473 Site admin

    My only guess is that the JS comment was still in the file. That makes it invalid JSON since strict JSON doesn't allow comments.

    Allan

This discussion has been closed.