[Jifty-commit] r4986 - in jifty/trunk: lib/Jifty/Web/Form share/web/static/js
Jifty commits
jifty-commit at lists.jifty.org
Sat Feb 2 15:58:57 EST 2008
Author: sterling
Date: Sat Feb 2 15:58:57 2008
New Revision: 4986
Modified:
jifty/trunk/ (props changed)
jifty/trunk/lib/Jifty/Web/Form/Clickable.pm
jifty/trunk/share/web/static/js/bps_util.js
Log:
r15148 at dynpc145: andrew | 2008-02-02 12:09:00 -0600
Convert clickable tooltip to button title and make sure buttonToLink() passes on the title attribute.
Modified: jifty/trunk/lib/Jifty/Web/Form/Clickable.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Web/Form/Clickable.pm (original)
+++ jifty/trunk/lib/Jifty/Web/Form/Clickable.pm Sat Feb 2 15:58:57 2008
@@ -549,6 +549,7 @@
{ %$args,
type => 'InlineButton',
continuation => $self->_continuation,
+ title => $self->tooltip,
@_
}
);
Modified: jifty/trunk/share/web/static/js/bps_util.js
==============================================================================
--- jifty/trunk/share/web/static/js/bps_util.js (original)
+++ jifty/trunk/share/web/static/js/bps_util.js Sat Feb 2 15:58:57 2008
@@ -43,6 +43,7 @@
});
}
link.setAttribute("onclick", onclick);
+ link.setAttribute("title", e.getAttribute("title"));
link.className = e.className;
link["virtualform"] = form;
More information about the Jifty-commit
mailing list