<form method="post" action="#" id="{{ id }}">

  {{> inputText field = form.fields.newTagFileName }}

  <div class="bottom-buttons">
    <div class="pull-right">
      <button type="button" id="{{#if (eq tagContext 'job') }}btnNewTagFileCreateForJob{{else}}btnNewTagFileCreate{{/if}}" class="btn btn-primary">Save</button>
    </div>
  </div>
</form>

<script>
  $('[data-toggle="popover"]').popover();
</script>

<form method="post" action="#" id="{{ id }}">

  {{> inputText field = form.fields.newTagFileName }}

  <div class="bottom-buttons">
    <div class="pull-right">
      <button type="button" id="{{#if (eq tagContext 'job') }}btnNewTagFileCreateForJob{{else}}btnNewTagFileCreate{{/if}}" class="btn btn-primary">Save</button>
    </div>
  </div>
</form>

<script>
 $('[data-toggle="popover"]').popover();
 $('#newTagFileName').keydown( function(event) {
     if (event.which === 13) {
         jobNewTagFileCreate();
     }
 });
</script>

Stop return key loading blank page
Stop return key loading blank page
