mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-28 23:01:29 +00:00
Add .gitatributes and change group purge script
This commit is contained in:
Executable
+36
@@ -0,0 +1,36 @@
|
||||
* binary
|
||||
*.eot binary
|
||||
*.gif binary
|
||||
*.ico binary
|
||||
*.jpg binary
|
||||
*.otf binary
|
||||
*.png binary
|
||||
*.swf binary
|
||||
*.ttf binary
|
||||
*.woff binary
|
||||
*.woff2 binary
|
||||
|
||||
*.ai eol=crlf -whitespace
|
||||
*.bat -binary text eol=crlf
|
||||
*.css -binary text eol=lf -whitespace
|
||||
*.html -binary text eol=lf
|
||||
*.js -binary text -whitespace
|
||||
*.json -binary text eol=lf
|
||||
*.less -binary text eol=lf
|
||||
*.md -binary text eol=lf conflict-marker-size=100
|
||||
*.php -binary text eol=lf
|
||||
*.sh -binary text eol=lf
|
||||
*.sql -binary text eol=lf
|
||||
*.svg -binary text eol=lf
|
||||
*.tpl -binary text eol=lf -whitespace
|
||||
*.tsv -binary text eol=lf -whitespace
|
||||
*.txt -binary text eol=lf conflict-marker-size=100
|
||||
*.vcproj -binary text eol=crlf
|
||||
*.xml -binary text eol=lf
|
||||
|
||||
libs/* -whitespace
|
||||
|
||||
Changelog -binary text eol=lf
|
||||
.gitignore -binary text
|
||||
.gitattributes -binary text
|
||||
composer.lock -binary text
|
||||
@@ -492,19 +492,20 @@ function ajax_group_reset(id)
|
||||
function ajax_group_purge(id)
|
||||
{
|
||||
// no caching of results
|
||||
$.ajax({
|
||||
url : WWW_TOP + '/admin/ajax_group-edit.php?action=4&rand=' + $.now(),
|
||||
data : { group_id: id},
|
||||
dataType : "html",
|
||||
success : function(data)
|
||||
{
|
||||
$('div#message').html(data);
|
||||
$('div#message').show('fast', function() {});
|
||||
$('#grouprow-'+id).fadeTo(2000, 0.5);
|
||||
$('#message').fadeOut(5000);
|
||||
},
|
||||
error: function(xhr,err,e) { alert( "Error in ajax_group_reset: " + err ); }
|
||||
});
|
||||
var rand_no = Math.random();
|
||||
$.ajax({
|
||||
url : WWW_TOP + '/admin/ajax.php?action=group_edit_purge_single&rand=' + rand_no,
|
||||
data : { group_id: id},
|
||||
dataType : "html",
|
||||
success : function(data)
|
||||
{
|
||||
$('div#message').html(data);
|
||||
$('div#message').show('fast', function() {});
|
||||
$('#grouprow-'+id).fadeTo(2000, 0.5);
|
||||
$('#message').fadeOut(5000);
|
||||
},
|
||||
error: function(xhr,err,e) { alert( "Error in ajax_group_purge: " + err ); }
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -740,4 +741,4 @@ function enableFixCrapCustom(){
|
||||
checks[t].readonly = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user