]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/contacts-template.tpl
[frio] import contacts form was missing the enctype
[friendica.git] / view / templates / contacts-template.tpl
index de03c0e72a24b7306883ea436ed3be7251e5125f..46ba629ff522420944457847229ffb151e68068a 100644 (file)
      return false;
     }
   });
-  // add javascript confirm dialog to "drop" links. Plain html url have "?confirm=1" to show confirmation form, we need to remove it
-  $(".drop").each(function() {
-   $(this).attr('href', $(this).attr('href').replace("confirm=1","") );
-   $(this).click(function(e){
-    if (confirm("{{$contact_drop_confirm}}")) {
-     return true;
-    } else {
-     e.preventDefault();
-     return false;
-    }
-   });
-   
-  });
  });
  </script>