[WIP] add console.log

bzr revid: chm@openerp.com-20140408144741-ylt01232o58xb7ys
This commit is contained in:
chm@openerp.com 2014-04-08 16:47:41 +02:00
parent f4225eda24
commit 69dfcab5d9
1 changed files with 5 additions and 0 deletions

View File

@ -18,6 +18,11 @@
waitNot: 'a[href*="/event"]:contains("Functional Webinar")',
autoComplete: function () {
// use onload if website_event_track is installed
console.log("--------------------------------------------");
console.log($('form:contains("Ticket Type")').size());
console.log("--------------------------------------------");
console.log($('a[href*="/event"][href*="/register"]').attr("href"));
console.log("--------------------------------------------");
if (!$('form:contains("Ticket Type")').size()) {
window.location.href = $('a[href*="/event"][href*="/register"]').attr("href");
}