Author: solomax
Date: Sat May 31 08:57:59 2014
New Revision: 1598835

URL: http://svn.apache.org/r1598835
Log:
[OPENMEETINGS-1012] fields clean-up is added

Modified:
    
openmeetings/branches/3.0.x/WebContent/src/modules/invitation/inviteMainWindow.lzx

Modified: 
openmeetings/branches/3.0.x/WebContent/src/modules/invitation/inviteMainWindow.lzx
URL: 
http://svn.apache.org/viewvc/openmeetings/branches/3.0.x/WebContent/src/modules/invitation/inviteMainWindow.lzx?rev=1598835&r1=1598834&r2=1598835&view=diff
==============================================================================
--- 
openmeetings/branches/3.0.x/WebContent/src/modules/invitation/inviteMainWindow.lzx
 (original)
+++ 
openmeetings/branches/3.0.x/WebContent/src/modules/invitation/inviteMainWindow.lzx
 Sat May 31 08:57:59 2014
@@ -29,7 +29,7 @@
                        docking="true" closable="false" width="464" x="200" 
y="100" height="465">
                
                <attribute name="roomType" value="conference" type="string" />
-               <attribute name="baseUrl" value="http://www.denic.de"; 
type="string" />
+               <attribute name="baseUrl" value="" type="string" />
                <attribute name="currentHash" value="" type="string" />
                <attribute name="display" value="false" type="boolean" />
                <attribute name="addTimezoneItemsDelegate" value="null"/>
@@ -75,6 +75,10 @@
                                this._ispasswordProtected.setValue(false);
                                this._timeFrom.setAttribute('text', 
getStringTime());
                                this._timeTo.setAttribute('text', 
getStringTime());
+                               this.firstname = "";
+                               this.lastname = "";
+                               this.email = "";
+                               this.display = false;
                                lz.ModeManager.makeModal(this);
                                if (!canvas.isConference){
                                        this.roomType = "restricted"; //FIXME
@@ -125,6 +129,8 @@
                        <![CDATA[
                                var addr = 
parent.replaceAll(parent.replaceAll(getText(), "'", ""), "\"", "");
                                if ($debug) Debug.write("addr: ", addr);
+                               parent.firstname = "";
+                               parent.lastname = "";
                                var idx1 = addr.indexOf("<"), idx2 = 
addr.indexOf(">");
                                if (idx1 > -1 && idx2 > -1 && idx2 > idx1) {
                                        parent.email = 
parent.trim(addr.substring(idx1 + 1, idx2));


Reply via email to