[FIX] Remove watcher, need to be review because it breaks other tests.
bzr revid: jke@openerp.com-20140414165721-i8g23jxy66p1p6ao
This commit is contained in:
parent
faa899adde
commit
9c739f12c2
|
@ -75,16 +75,6 @@
|
|||
$.fn.bstooltip = $.fn.tooltip;
|
||||
$.fn.bsbutton = $.fn.button;
|
||||
|
||||
// keep jQuery method alive
|
||||
window.watch("$", function (prop, oldval, val) {
|
||||
console.debug("jQuery " + oldval.fn.jquery + " overwritted by jQuery " + val.fn.jquery);
|
||||
for (var i in oldval.fn) {
|
||||
if (typeof val.fn[i] === "undefined") {
|
||||
val.fn[i] = oldval.fn[i];
|
||||
}
|
||||
}
|
||||
return val;
|
||||
});
|
||||
</script>
|
||||
|
||||
<script type="text/javascript" src="/web/static/lib/qweb/qweb2.js"></script>
|
||||
|
|
Loading…
Reference in New Issue