Hello Artyom, Is it possible first/last name is null? On Apr 19, 2013 2:28 PM, <[email protected]> wrote:
> Author: a_horuzhenko > Date: Fri Apr 19 07:27:56 2013 > New Revision: 1469720 > > URL: http://svn.apache.org/r1469720 > Log: > First name and last name are displaying instead of login while setting > whiteboard pointer. > > Modified: > > openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/whiteboard/base/tools/baseDrawPointer.lzx > > Modified: > openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/whiteboard/base/tools/baseDrawPointer.lzx > URL: > http://svn.apache.org/viewvc/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/whiteboard/base/tools/baseDrawPointer.lzx?rev=1469720&r1=1469719&r2=1469720&view=diff > > ============================================================================== > --- > openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/whiteboard/base/tools/baseDrawPointer.lzx > (original) > +++ > openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/whiteboard/base/tools/baseDrawPointer.lzx > Fri Apr 19 07:27:56 2013 > @@ -41,9 +41,21 @@ > </method> > > <method name="drawPointerWhiteBoardFinal" > args="newName,x,y,width,height" > > + var displayedName = canvas.currentuser; > + if (canvas.firstName.length > 0) { > + displayedName = canvas.firstName; > + } > + if (canvas.lastName.length > 0) { > + if (canvas.firstName.length > 0) { > + displayedName += " " + canvas.lastName; > + } else { > + displayedName = canvas.lastName; > + } > + } > + > var actionObject = new Array(); > actionObject[0] = 'pointerWhiteBoard'; > - actionObject[1] = canvas.currentuser; > + actionObject[1] = displayedName; > actionObject[2] = this.counter;//-6 > actionObject[3] = x;//-5 > actionObject[4] = y;//-4 > > >
