Skip to content

Commit

Permalink
removed unncessary debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
scottkf committed May 21, 2011
1 parent 23375d3 commit 103d0fc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions assets/massuploadutility.publish.js
Expand Up @@ -5,7 +5,7 @@
// check for html5 input multiple support first
html5Support = ("multiple" in document.createElement("input"));
if(!html5Support){
console.log("Sorry, your browser doesn't support HTML5!");
// console.log("Sorry, your browser doesn't support HTML5!");
return false;
}

Expand Down Expand Up @@ -119,7 +119,7 @@
// highlight the fields that have errors
// if (v._type == "missing") {
field = field.parents("label");
console.log(field);
// console.log(field);
if (field.parent().attr('id') != 'error') {
// field.children(":first").attr("name") + " " + v;
field.wrap("<div id=\"error\" class=\"invalid\"></div>");
Expand Down Expand Up @@ -186,10 +186,10 @@
});
}
else if (fileField.size() > 1) {
console.log("The Mass Upload Utility doesn't work with multiple upload fields.");
// console.log("The Mass Upload Utility doesn't work with multiple upload fields.");
}
else {
console.log("No upload fields detected.");
// console.log("No upload fields detected.");
}

});
Expand Down

0 comments on commit 103d0fc

Please sign in to comment.