I did fix it
please see revision 1399671
The only issue: JS errors caused by calendar autoreload (please ignore them
for now)

On Thu, Oct 18, 2012 at 8:46 PM, Maxim Solodovnik <[email protected]>wrote:

> I was sure it works as expected.
> let me double check.
>
>
>
> On Thu, Oct 18, 2012 at 8:44 PM, [email protected] <
> [email protected]> wrote:
>
>> Hi Maxim,
>>
>> you've added the function "omComponentInit" to be called everytime a
>> Panel is loaded.
>>
>> But the function is only called the first time you load the panel, if you
>> click another menu item and then return to the previous it is not called
>> again.
>>
>> That is also the reason why the calendar UI is only shown on the first
>> click from my point of view.
>> Do you have an idea what went wrong here?
>> We once had some code that had an if-else construct to check if its the
>> first loading of the Panel or if it gets reloaded. Depending on that the JS
>> was called differently. I think I had implemented that in some Panel and
>> then removed it again.
>>
>> This was the solution I've implemented:
>> http://markmail.org/message/7k2jlhivtkz6fb7f
>>
>> However I can't see where we would put this in the MenuPanel.
>> Basically I think the whole call of the omComponentInit should go into
>> the Panel Header itself instead of the Menu.
>>
>> What do you think?
>>
>> --
>> Sebastian Wagner
>> https://twitter.com/#!/dead_lock
>> http://www.webbase-design.de
>> http://www.wagner-sebastian.com
>> [email protected]
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
WBR
Maxim aka solomax

Reply via email to