Fix jquery Validation issue on setup

This commit is contained in:
Romain Neutron
2013-09-25 17:24:40 +02:00
parent 7a68ebbbb2
commit f20c4cdddf
174 changed files with 33796 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
if (!("console" in window) || !("firebug" in console))
{
var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml",
"group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"];
window.console = {};
for (var i = 0; i < names.length; ++i)
window.console[names[i]] = function() {}
}