AntonLV 9 лет назад
Родитель
Сommit
0bf33e31ec
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      inc/js/classes/BxDolReport.js

+ 2 - 2
inc/js/classes/BxDolReport.js

@@ -40,13 +40,13 @@ BxDolReport.prototype.report = function(oLink) {
     var oData = this._getDefaultParams();
     oData['action'] = 'Report';
 
-    this._oParent = oLink;
+    this._oParent = $(oLink);
 
     $.get(
     	this._sActionsUrl,
     	oData,
     	function(oData) {
-    		$this.processJson(oData, oLink);
+    		$this.processJson(oData, this._oParent);
     	},
     	'json'
     );