web/data/cubicweb.compat.js
brancholdstable
changeset 7258 2e7f0d6fa2d6
parent 6880 4be32427b2b9
child 9259 68cde7431c2c
--- a/web/data/cubicweb.compat.js	Wed Apr 27 09:54:22 2011 +0200
+++ b/web/data/cubicweb.compat.js	Thu Apr 28 08:18:48 2011 +0200
@@ -15,7 +15,7 @@
 
 // ========== ARRAY EXTENSIONS ========== ///
 Array.prototype.contains = cw.utils.deprecatedFunction(
-    '[3.9] array.contains(elt) is deprecated, use $.inArray(elt, array) instead',
+    '[3.9] array.contains(elt) is deprecated, use $.inArray(elt, array)!=-1 instead',
     function(element) {
         return jQuery.inArray(element, this) != - 1;
     }