I get the following error whenever I click of splitclick a splitbutton:
Uncaught TypeError: Cannot read property 'allimageindexdata' of undefined .
It didn't say this before and I didn't change anything I can figure out that corresponds to this error.
Does anyone knows where this comes from?
Apparently self._config is "undefined", but I realy didn't change any functionality there.
With kind regards,
Marvin Brouwer.
-- EDIT --
I found out a javascript error occured in a function wich was located inside of the "_toolbartemplate.xml" inside of an "update_statusui" definition.
For who's interested the faulty code was:
-
- if (nodes[0].GetName().toString().toLowerCase() == "smallcaps" || root.GetName().toString().toLowerCase() == "smallcaps") {
- self.set_checked(true);
- }
- else {
- self.set_checked(false);
- }
I changed it into:
- if (!! root && root.GetName().toString().toLowerCase() == "smallcaps") {
- self.set_checked(true);
- }
- else if (!! nodes[0] && nodes[0].GetName().toString().toLowerCase() == "smallcaps") {
- self.set_checked(true);
- }
- else {
- self.set_checked(false);
- }