[FIX] Reactive watcher

bzr revid: jke@openerp.com-20140414163412-88seef6j58xiamug
This commit is contained in:
Kersten Jeremy
2014-04-14 18:34:12 +02:00
parent 552a23a4bd
commit faa899adde
+3 -3
View File
@@ -76,15 +76,15 @@
$.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);
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>