Merge remote branch 'kc/new/bug_5142' into kcmaster

This commit is contained in:
Chris Cormack 2010-12-02 09:04:09 +13:00
commit 261c8d3aaf

View file

@ -48,25 +48,25 @@ td input,td input[type="submit"] { font-size: 85%; padding: 1px; }
}
}
var success_approve = function(tag){
// window.alert('AJAX approved tag: ' + tag);
// window.alert(_('AJAX approved tag: ') + tag);
};
var failure_approve = function(tag){
window.alert('AJAX failed to approve tag: ' + tag);
window.alert(_('AJAX failed to approve tag: ') + tag);
};
var success_reject = function(tag){
// window.alert('AJAX rejected tag: ' + tag);
// window.alert(_('AJAX rejected tag: ') + tag);
};
var failure_reject = function(tag){
window.alert('AJAX failed to reject tag: ' + tag);
window.alert(_('AJAX failed to reject tag: ') + tag);
};
var success_test = function(tag){
$('#verdict').html(tag + ' is permitted!');
$('#verdict').html(tag + _(' is permitted!'));
};
var failure_test = function(tag){
$('#verdict').html(tag + ' is prohibited!');
$('#verdict').html(tag + _(' is prohibited!'));
};
var indeterminate_test = function(tag){
$('#verdict').html(tag + ' is neither permitted nor prohibited!');
$('#verdict').html(tag + _(' is neither permitted nor prohibited!'));
};
var success_test_call = function() {
@ -100,7 +100,7 @@ td input,td input[type="submit"] { font-size: 85%; padding: 1px; }
});
$('body').click(function(event) {
pull_counts();
// window.alert("Click detected on " + event.target + ": " + $(event.target).html);
// window.alert(_("Click detected on ") + event.target + ": " + $(event.target).html);
if ($(event.target).is('.ok')) {
$.ajax({
"data": {ok: $(event.target).attr("title"), CGISESSID: readCookie('CGISESSID')},