[js] fix deprecated call stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 27 Jan 2011 13:39:29 +0100
branchstable
changeset 6903 d16b42c1e517
parent 6902 20f63f716f0e
child 6904 cf869016a823
[js] fix deprecated call
web/data/cubicweb.edition.js
--- a/web/data/cubicweb.edition.js	Thu Jan 27 07:45:52 2011 +0100
+++ b/web/data/cubicweb.edition.js	Thu Jan 27 13:39:29 2011 +0100
@@ -588,7 +588,7 @@
         var args = ajaxFuncArgs('validate_form', null, action, zipped[0], zipped[1]);
         var d = loadRemote('json', args, 'POST');
     } catch(ex) {
-        log('got exception', ex);
+        cw.log('got exception', ex);
         return false;
     }
     d.addCallback(function(result, req) {