mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update viewtopic_attach.tpl
This commit is contained in:
parent
794ad67a37
commit
330e68ac0b
@ -301,6 +301,8 @@ $('#tor-filelist-btn').click(function(){
|
|||||||
if (ajax.tor_filelist_loaded) {
|
if (ajax.tor_filelist_loaded) {
|
||||||
$('#tor-fl-wrap').toggle();
|
$('#tor-fl-wrap').toggle();
|
||||||
return false;
|
return false;
|
||||||
|
} else {
|
||||||
|
$("#tor-filelist-btn").attr("disabled", true);
|
||||||
}
|
}
|
||||||
$('#tor-fl-wrap').show();
|
$('#tor-fl-wrap').show();
|
||||||
|
|
||||||
@ -322,6 +324,7 @@ $('#tor-filelist-btn').click(function(){
|
|||||||
$(this).prepend('<s>'+ humn_size(size_bytes) +'</s> ');
|
$(this).prepend('<s>'+ humn_size(size_bytes) +'</s> ');
|
||||||
});
|
});
|
||||||
ajax.tor_filelist_loaded = true;
|
ajax.tor_filelist_loaded = true;
|
||||||
|
$("#tor-filelist-btn").attr("disabled", false);
|
||||||
};
|
};
|
||||||
$('#tor-fl-treecontrol a').click(function(){ this.blur(); });
|
$('#tor-fl-treecontrol a').click(function(){ this.blur(); });
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user