Permalink
Browse files

Fixed browser related submit issue in FeatureMapper

  • Loading branch information...
ferryjagers committed Jan 3, 2019
1 parent af705c8 commit 055c7179dfe5f991b03cd1b559d9b4bfccd0514b
@@ -181,7 +181,7 @@
Names in <div style="display: inline-block; color: #808080">gray</div> are already mapped on previous occasions.
</span>

<g:form action="submitFeatures">
<g:form action="submitFeatures" id="featureForm" name="featureForm">
<g:hiddenField name="module" value="${module}"/>
<fieldset>
<table>
@@ -217,7 +217,7 @@
</fieldset>

<p class="options">
<a href="#" onClick="submit()" class="next">Submit</a>
<a href="#" onClick="$('#featureForm').submit()" class="next">Submit</a>
</p>
</g:form>

@@ -21,7 +21,7 @@
</span>

<g:if test="${apiKeyConfigured}">
<g:form action="listFeatures">
<g:form action="listFeatures" id="platformForm" name="platformForm">
<g:hiddenField name="module" value="${module}"/>
<fieldset>
<legend>Parameters</legend>
@@ -45,7 +45,7 @@
</fieldset>

<p class="options">
<a href="#" onClick="submit()" class="next">Next</a>
<a href="#" onClick="$('#platformForm').submit()" class="next">Next</a>
</p>
</g:form>
</g:if>
@@ -19,7 +19,7 @@
Successfully added an external identifier to the Features in the list below.
</span>

<g:form controller="SAMHome">
<g:form controller="SAMHome" id="submitForm" name="submitForm">
<g:hiddenField name="module" value="${module}"/>
<fieldset>
%{--<legend>Parameters</legend>--}%
@@ -39,7 +39,7 @@
</fieldset>

<p class="options">
<a href="#" onClick="submit()" class="next">Back to Home</a>
<a href="#" onClick="$('#submitForm').submit()" class="next">Back to Home</a>
%{--<g:link controller="SAMHome" params="${[module: module]}" class="next">Back to home</g:link>--}%
</p>
</g:form>

0 comments on commit 055c717

Please sign in to comment.