I got the following code in my elements.xml, but I cant find the error.
My ribbon is broken, the error says, expected;.
But I see no error, yet, maybe fresh eyes can see it. See the EnabledScript section:
|
I got the following code in my elements.xml, but I cant find the error. My ribbon is broken, the error says, expected;. But I see no error, yet, maybe fresh eyes can see it. See the EnabledScript section: |
||||
|
|
|
You can't use int in javascript: with:
UPDATE After the update of the question: You define your function in EnabledScript but you never invoke this. According to msdn example you have to invoke it:
|
|||||||||||||
|
|
Problem is here:
items is unassigned variable. |
|||
|
|
Try this:
|
|||
|
|