[pve-devel] r5382 - pve-manager/pve2/www/manager
svn-commits at proxmox.com
svn-commits at proxmox.com
Thu Jan 13 09:18:10 CET 2011
Author: dietmar
Date: 2011-01-13 09:18:09 +0100 (Thu, 13 Jan 2011)
New Revision: 5382
Modified:
pve-manager/pve2/www/manager/PVEUtils.js
Log:
avoid errors when running without development tools
Modified: pve-manager/pve2/www/manager/PVEUtils.js
===================================================================
--- pve-manager/pve2/www/manager/PVEUtils.js 2011-01-13 07:25:31 UTC (rev 5381)
+++ pve-manager/pve2/www/manager/PVEUtils.js 2011-01-13 08:18:09 UTC (rev 5382)
@@ -1,3 +1,8 @@
+// avoid errors when running without development tools
+if (typeof console == "undefined") {
+ var console = { log: function() {} };
+}
+
Ext.ns("PVE");
Ext.Ajax.defaultHeaders = {
More information about the pve-devel
mailing list