We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1dfe684 commit 509d21bCopy full SHA for 509d21b
1 file changed
app/controllers/index.js
@@ -522,12 +522,19 @@ export default class IndexController extends Controller {
522
this.model.supportedClass?.destroy();
523
}
524
525
+ clearPolicyInfo() {
526
+ this.model.policyURL = '';
527
+ this.model.policyContentType = '';
528
+ this.model.policyRedirectUrl = '';
529
+ }
530
+
531
@action
532
async loadForm(event) {
533
event.preventDefault();
534
document.getElementById('load-btn').disabled = true;
535
document.getElementById('load-btn').innerText = 'Loading...';
536
537
+ this.clearPolicyInfo();
538
this.clearForm();
539
540
this.form = this.model.loadedFormUri;
0 commit comments