diff options
Diffstat (limited to 'js/src/error_report.js')
-rw-r--r-- | js/src/error_report.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/js/src/error_report.js b/js/src/error_report.js index 8174862d72..91f950b640 100644 --- a/js/src/error_report.js +++ b/js/src/error_report.js @@ -1,3 +1,5 @@ +import $ from 'jquery'; + /** * general function, usually for data manipulation pages * @@ -249,7 +251,7 @@ var ErrorReport = { newFunc.wrapped = true; // Set guid of wrapped function same as original function, so it can be removed // See bug#4146 (problem with jquery draggable and sortable) - newFunc.guid = func.guid = func.guid || newFunc.guid || jQuery.guid++; + newFunc.guid = func.guid = func.guid || newFunc.guid || $.guid++; return newFunc; } else { return func; |