Thanks a lot Sebastien! :))) Another question: in some cases onClick handler on menuItem is not working, could you please advise how to debug it? weird thing it sometimes works and sometimes not :( so I need to start debugging on maybe client side what is the best way to do it?
On Sun, Sep 11, 2016 at 6:23 PM, Sebastien <[email protected]> wrote: > Hi Maxim, > > It seems to be a bug on my side, I'm on it... > > Best regards, > Sebastien. > > > On Sun, Sep 11, 2016 at 6:57 AM, Maxim Solodovnik <[email protected]> > wrote: >> >> Thanks for the quick answer :) >> >> I'm opening dialog using open method [1] >> In onOpen [2] method I'm adding some internal components (including >> indicating button to enable it (another HACK)) >> >> Actually the following scenario doesn't work: >> I perform "heavy" file conversion in onSubmit method [3] in case error >> happend, I'm not closing dialog and displaying error .... >> And the indicating button is still "indicating" on this step >> >> >> [1] >> https://github.com/apache/openmeetings/blob/3.2.x/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/sidebar/RoomSidebar.java#L224 >> [2] >> https://github.com/apache/openmeetings/blob/3.2.x/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/sidebar/UploadDialog.java#L165 >> >> https://github.com/apache/openmeetings/blob/3.2.x/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/sidebar/UploadDialog.java#L197 >> >> On Sun, Sep 11, 2016 at 1:39 AM, Sebastien <[email protected]> wrote: >> > Hi Maxim, >> > >> > Are you re-attaching the dialog after the click somehow, like >> > target.add(theDialogOrItsContainer) ? >> > >> > Best regards, >> > Sebastien. >> > >> > >> > >> > On Sat, Sep 10, 2016 at 7:37 PM, Maxim Solodovnik <[email protected]> >> > wrote: >> >> >> >> Hello Sebastien, >> >> >> >> I'm struggling with indicating dialog button, after dialog re-open it >> >> continue "indicating" >> >> I can hack it (remove indicating icon, but this seems to be wrong >> >> solution >> >> :( >> >> >> >> jQuery.event.trigger("ajaxStop"); >> >> Also seems to not work :( >> >> What am I doing wrong? >> >> >> >> -- >> >> WBR >> >> Maxim aka solomax >> > >> > >> >> >> >> -- >> WBR >> Maxim aka solomax > > -- WBR Maxim aka solomax
