[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13291545#comment-13291545
 ] 

James Morris commented on OPENMEETINGS-317:
-------------------------------------------

### Eclipse Workspace Patch 1.0
#P OM
Index: WebContent/src/modules/lzcalendar/compontents/lzEditCalendarEvent.lzx
===================================================================
--- WebContent/src/modules/lzcalendar/compontents/lzEditCalendarEvent.lzx       
(revision 1345272)
+++ WebContent/src/modules/lzcalendar/compontents/lzEditCalendarEvent.lzx       
(working copy)
                
@@ -456,12 +450,12 @@
                                datapath="local:classroot.eventDS:/comment" 
text="$path{'text()'}" 
                                width="$once{ parent.width-110 }" height="124" 
/> 
                        
-               <simpleLabelButton name="_saveEvent" labelid="813" width="100" 
+               <simpleLabelButton name="_saveEvent" id="_saveEvent" 
labelid="813" width="100" 
                                x="$once{ parent.width-315 }" y="$once{ 
parent.height-24 }" >
                <handler name="onclick">
                     //new lz.labelerrorPopup(canvas,{errorlabelid:1278});
                     //return;
-                    
+                _saveEvent.setAttribute('enabled', false);
                 parent.saveAndClose();
                </handler>
         </simpleLabelButton>

^^ Setting the id for the simpleLabelButton, then disabling that div on click 
prevents multiple clicks generating multiple invites etc.
                
> Multiple appointments generated when clicking save more than once
> -----------------------------------------------------------------
>
>                 Key: OPENMEETINGS-317
>                 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-317
>             Project: Openmeetings
>          Issue Type: Bug
>          Components: UI
>    Affects Versions: 2.0 Apache Incubator Release
>         Environment: User interface - calendar feature of openmeetings
>            Reporter: James Morris
>            Assignee: SebastianWagner
>            Priority: Minor
>             Fix For: 2.0 Apache Incubator Release
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> When creating a meeting via the calendar, it takes some time for the emails 
> and .ics files to be generated. When a user clicks Save on the meeting, there 
> is a delay of up to 5-10 seconds before the appointment window disappears.
> If a user clicks Save multiple times, it will generate emails and 
> appointments for each button click - resulting in multiple emails and 
> multiple appointments/conferences.
> The UI should disable the Save button on click.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to