Hi,

It seems like I found the problem  - I had an 'Advanced' element
(<f:advanced>) under a separated f:section. It worked fine with the
previous UI.

You need to be very careful with the tags you're using in the config.jelly
file..

Uri

On Tue, Oct 9, 2012 at 8:46 PM, Uri Scheiner <u...@noliosoft.com> wrote:

> Hi Guys,
>
> Any of you have any idea about this? I'm trying to find a way to control
> the CSS of my plugin, but finds nothing..
>
> Any hint will be appreciated..
>
> Uri
>
>
> On Wed, Oct 3, 2012 at 12:34 PM, Uri Scheiner <u...@noliosoft.com> wrote:
>
>> Hi all,
>>
>> I've noticed that when adding a post-build plugin that I developed it
>> results in  *Uncaught TypeError: Cannot read property 'firstChild' of
>> null* .
>>
>> I debugged the javaScript that runs when adding the plugin and I've
>> noticed the following behavior:
>>
>> In general, the element that represents the plugin UI should have one
>> child - a table element that contains the attributes that should be
>> displayed to the user. However, I've noticed that my plugin has two childs:
>>
>> 1. A link element: * <link rel = "stylesheet" href=
>> "/jenkins/adjuncts/d3d844aa/lib/form/section_.css" type="text/css">*
>> 2. A table element.
>>
>> When I changed the JavaScript, my plugin worked fine.
>> My question is - how do I get rid from the 'link' element? I tried to
>> modify the config.jelly file but no luck. Any ideas? I've debugged other
>> plugins and none of them had this 'link' element so I wonder what made it
>> appear.
>>
>> Thanks,
>>  Uri
>>
>
>
>

Reply via email to