diff --git a/VERSION b/VERSION index 2f56e326..315a9b73 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.4.1-alpha.2+timestamp.2013.01.01.21.07.46 +Version 2.4.1-alpha.2+timestamp.2013.01.02.18.58.15 diff --git a/gluon/html.py b/gluon/html.py index e38c4d82..5b532b17 100644 --- a/gluon/html.py +++ b/gluon/html.py @@ -1478,7 +1478,7 @@ class A(DIV): (self['component'], self['target'] or '', d) self['_href'] = self['_href'] or '#null' elif self['callback']: - returnfalse = "var e = arguments[0] || window.event; e.cancelBubble=true; if (e.stopPropagation) e.stopPropagation(); e.preventDefault();" + returnfalse = "var e = arguments[0] || window.event; e.cancelBubble=true; if (e.stopPropagation) {e.stopPropagation(); e.stopImmediatePropagation(); e.preventDefault();}" if d: self['_onclick'] = "if(confirm(w2p_ajax_confirm_message||'Are you sure you want to delete this object?')){ajax('%s',[],'%s');%s};%s" % \ (self['callback'], self['target'] or '', d, returnfalse)