Blame view

sources/apps/user_openid_provider/js/settings.js 332 Bytes
42e4f8d60   Kload   add all apps
1
2
3
4
5
6
7
8
9
10
11
12
13
  $(function(){
  	$('#user_openid_provider .delete').click(function() {
  		var tr = $(this).closest('tr'),
  			site = tr.find('td:first').text();
  
  		$.post(OC.filePath('user_openid_provider', 'ajax', 'remove.php'), {url:site}, function(jsondata){
  			if (jsondata.status=='success') {
  				tr.remove();
  			}
  		});
  		return false;
  	});
  });