Removes console.log lines.

This commit is contained in:
Lars Jung 2012-02-20 03:12:12 +01:00
parent d7b3bd79f8
commit b39fbb8dc0
2 changed files with 0 additions and 4 deletions

View file

@ -32,8 +32,6 @@
$input = $filter.find('input'), $input = $filter.find('input'),
val = $input.val(); val = $input.val();
console.log('checkState', val, focus);
if (val || focus) { if (val || focus) {
$filter.addClass('current'); $filter.addClass('current');
} else { } else {

View file

@ -112,10 +112,8 @@
$('#download img').attr('src', H5AI.core.image("download")); $('#download img').attr('src', H5AI.core.image("download"));
$('#download').removeClass('zipping'); $('#download').removeClass('zipping');
if (response.status === 'ok') { if (response.status === 'ok') {
console.log("download worked!", response);
window.location = H5AI.core.api() + '?action=getzip&id=' + response.id; window.location = H5AI.core.api() + '?action=getzip&id=' + response.id;
} else { } else {
console.log("download failed!", response);
$('#download').addClass('failed'); $('#download').addClass('failed');
setTimeout(function () { setTimeout(function () {
$('#download').removeClass('failed'); $('#download').removeClass('failed');