From b8aa28c0555d83be03940a1bf2c18378157cb7f9 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 3 Feb 2014 09:59:30 +0000 Subject: [PATCH] fixed error if argument was a widget, using jQuery.extend instead not existing clone() --- phpgwapi/js/jsapi/egw_debug.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/js/jsapi/egw_debug.js b/phpgwapi/js/jsapi/egw_debug.js index 1552ec21e8..69dc401872 100644 --- a/phpgwapi/js/jsapi/egw_debug.js +++ b/phpgwapi/js/jsapi/egw_debug.js @@ -107,7 +107,7 @@ egw.extend('debug', egw.MODULE_GLOBAL, function(_app, _wnd) { // for Class we try removing _parent and _children attributes and try again to stringify if (data.args[i] instanceof Class) { - data.args[i] = clone(data.args[i]); + data.args[i] = jQuery.extend({}, data.args[i]); delete data.args[i]._parent; delete data.args[i]._children; try {