             else
                 alert t 'konnector deleted'
                 @model.set 'lastAutoImport', null
-                @model.set 'fieldValues', {}
+                @model.set 'fieldValuesSet', [{}]
                 @model.set 'password', '{}'
                 window.router.navigate '', trigger: true
 

        else if errorMessage
            @showErrors t errorMessage

        values ?= {}
        for name, val of @model.get 'fields'
            values[name] ?= ""

            @addFieldWidget slug, name, val, values

            # If the widget added is a folder selector, we add a change
            # listener that will change the open folder button link every time
            # the selector is changed.
            @configureFolderInput slug, name if val is 'folder'

        @addIntervalWidget slug


    # Show import status and enable/disable the import button depending on this

            folderButton.attr 'href', link


    addFieldWidget: (slug, name, val, values, index) ->
        if val is 'label'
            fieldHtml = """
<div class="field line #{'hidden' if val is 'hidden'}">
    <label for="#{slug}-#{name}#{index}-input">#{t(name)} : </label>
    <b id="#{slug}-#{name}#{index}-input" >#{values[name]}</b>
</div>
"""
        else if val is 'link'
            fieldHtml = """
<div class="field line #{'hidden' if val is 'hidden'}">
    <label for="#{slug}-#{name}#{index}-input">#{t(name)} : </label>
    <a target="_blank" href="#{values[name]}" id="#{slug}-#{name}#{index}-input" >
        #{values[name]}
    </a>
</div>
