[WIP] add console.log
bzr revid: chm@openerp.com-20140408144741-ylt01232o58xb7ys
This commit is contained in:
parent
f4225eda24
commit
69dfcab5d9
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue