diff -r 4f4342ec87ac -r 6d97e80b2e97 web/data/cubicweb.ajax.box.js --- a/web/data/cubicweb.ajax.box.js Tue Dec 17 11:13:45 2013 +0100 +++ b/web/data/cubicweb.ajax.box.js Tue Jan 07 16:39:32 2014 +0100 @@ -81,12 +81,12 @@ }); $input.cwautocomplete(unrelated, {multiple: Boolean(separator)}); var buttons = DIV({'class' : "sgformbuttons"}, - A({href : "javascript: noop();", + A({href : "javascript: $.noop();", onclick : cw.utils.strFuncCall('ajaxBoxValidateSelectorInput', boxid, eid, separator, addfname, msg)}, oklabel), ' / ', - A({'href' : "javascript: noop();", + A({'href' : "javascript: $.noop();", 'onclick' : '$("#' + holderid + '").empty()'}, cancellabel)); holder.append(buttons);