Hi Vasya,

Thanks for adding that.

The other issue in the past was that not only the zoombar sends that event
when you actively zoom. The zoom might change when you resize the browser
window. Or maximise the window.
So I am not really sure if hiding the ui tool does really prevent sending
the event from non moderators to everybody else.

Sebastian
On 24 Oct 2013 22:13, <vdegtya...@apache.org> wrote:

> Author: vdegtyarev
> Date: Thu Oct 24 09:13:06 2013
> New Revision: 1535321
>
> URL: http://svn.apache.org/r1535321
> Log:
> OPENMEETINGS-819 minor changes. Hide zoom bar for non moderator users on
> whiteboard.
>
> Modified:
>
> openmeetings/branches/2.x/WebContent/src/modules/conference/whiteboard/fixedFileExplorerWhiteBoard.lzx
>
> openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/whiteboard/fixedFileExplorerWhiteBoard.lzx
>
> Modified:
> openmeetings/branches/2.x/WebContent/src/modules/conference/whiteboard/fixedFileExplorerWhiteBoard.lzx
> URL:
> http://svn.apache.org/viewvc/openmeetings/branches/2.x/WebContent/src/modules/conference/whiteboard/fixedFileExplorerWhiteBoard.lzx?rev=1535321&r1=1535320&r2=1535321&view=diff
>
> ==============================================================================
> ---
> openmeetings/branches/2.x/WebContent/src/modules/conference/whiteboard/fixedFileExplorerWhiteBoard.lzx
> (original)
> +++
> openmeetings/branches/2.x/WebContent/src/modules/conference/whiteboard/fixedFileExplorerWhiteBoard.lzx
> Thu Oct 24 09:13:06 2013
> @@ -535,7 +535,8 @@
>              this.ignoreUpdates = false;
>          </method>
>
> -        <labelCheckbox x="344" name="_fullFit" labelid="847" y="4"
> fontstyle="bold" bgcolor="0xFFFFFF" >
> +        <labelCheckbox x="344" name="_fullFit" labelid="847" y="4"
> fontstyle="bold" bgcolor="0xFFFFFF"
> +                       visible="${ ((canvas.becomemoderator) ? true :
> false ) }">
>              <handler name="onvalue" args="v">
>                  if (parent.ignoreUpdates) {
>                      return;
> @@ -548,7 +549,8 @@
>          </labelCheckbox>
>
>          <changeWidthSlider name="_zoom" initialNumberInit="50"
> -              boxPosition="down" initialNumber="50" maximum="200">
> +              boxPosition="down" initialNumber="50" maximum="200"
> +              visible="${ ((canvas.becomemoderator) ? true : false ) }">
>              <handler name="oninitialNumber" args="i">
>                  if (parent.ignoreUpdates) {
>                      return;
>
> Modified:
> openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/whiteboard/fixedFileExplorerWhiteBoard.lzx
> URL:
> http://svn.apache.org/viewvc/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/whiteboard/fixedFileExplorerWhiteBoard.lzx?rev=1535321&r1=1535320&r2=1535321&view=diff
>
> ==============================================================================
> ---
> openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/whiteboard/fixedFileExplorerWhiteBoard.lzx
> (original)
> +++
> openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/whiteboard/fixedFileExplorerWhiteBoard.lzx
> Thu Oct 24 09:13:06 2013
> @@ -539,7 +539,8 @@
>              this.ignoreUpdates = false;
>          </method>
>
> -        <labelCheckbox x="344" name="_fullFit" labelid="847" y="4"
> fontstyle="bold" bgcolor="0xFFFFFF" >
> +        <labelCheckbox x="344" name="_fullFit" labelid="847" y="4"
> fontstyle="bold" bgcolor="0xFFFFFF"
> +                       visible="${ ((canvas.becomemoderator) ? true :
> false ) }">
>              <handler name="onvalue" args="v">
>                  if (parent.ignoreUpdates) {
>                      return;
> @@ -554,7 +555,8 @@
>          </labelCheckbox>
>
>          <changeWidthSlider name="_zoom" initialNumberInit="50"
> labelid="1328"
> -              boxPosition="down" initialNumber="50" maximum="200">
> +                   boxPosition="down" initialNumber="50" maximum="200"
> +                       visible="${ ((canvas.becomemoderator) ? true :
> false ) }">
>              <handler name="oninitialNumber" args="i">
>                  if (parent.ignoreUpdates) {
>                      return;
>
>
>

Reply via email to