diff options
| -rw-r--r-- | addons/web/static/lib/jquery/jquery-1.8.2.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/addons/web/static/lib/jquery/jquery-1.8.2.js b/addons/web/static/lib/jquery/jquery-1.8.2.js index d4f3bb38cda..1ec3382a6a3 100644 --- a/addons/web/static/lib/jquery/jquery-1.8.2.js +++ b/addons/web/static/lib/jquery/jquery-1.8.2.js @@ -1149,7 +1149,11 @@ jQuery.extend({ deferred = {}; // Keep pipe for back-compat - promise.pipe = promise.then; + //promise.pipe = promise.then; + promise.pipe = function() { + console.error("$.Deferred().pipe() is deprecated. Use .then() instead."); + return promise.then.apply(this, arguments); + }; // Add list-specific methods jQuery.each( tuples, function( i, tuple ) { |
