: " + id , 'success', 5)
    external_table.bootstrapTable('scrollTo', 'bottom')
   }
   
  } 
  function add_entry(){
   //modal up
   $('#add-link').modal('toggle')
  }
  function delete_from_table(){
   //get selection
   var external_table = $('#external_table')
   selected = external_table.bootstrapTable('getSelections')
   console.log(selected)
   if (selected.length >0) {
    //delete entry
    external_table.bootstrapTable('removeByUniqueId', selected[0]['index'])
    }
  }

$('#external_table').on(