[ https://issues.apache.org/jira/browse/AIRAVATA-2216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15647881#comment-15647881 ]
Marcus Christie commented on AIRAVATA-2216: ------------------------------------------- Some implementation ideas * the sharing button should be type="button". Right now it is a submit button. * The button should be disabled until the JS can run and add a click event listener. That should prevent unexpected behavior from happening if it is clicked before the click event listener is added. * Alternatively, the click event listener could be added immediately after the button is added to the page instead of in the DOMContentLoaded event handler > Sharing button doesn't work on Create Project when page hasn't finished > loading > ------------------------------------------------------------------------------- > > Key: AIRAVATA-2216 > URL: https://issues.apache.org/jira/browse/AIRAVATA-2216 > Project: Airavata > Issue Type: Bug > Reporter: Marcus Christie > Assignee: Marcus Christie > Fix For: 0.17-SNAPSHOT > > > h5. Steps to reproduce > # Click on *Project > Create* > # Enter a *Project Name* > # Click the *Share with Other Users* button > h5. Actual Results > Clicking the *Share with Other Users* button causes the page to be submitted > but the project isn't created. The page reloads but without the name or > description that the user had provided. > h5. Expected Results > Clicking the *Share with Other Users* button should open the sharing modal. -- This message was sent by Atlassian JIRA (v6.3.4#6332)