Project

General

Profile

Bug #7645 ยป 0001-Fix-consistency-of-anchor-text-selection-order.patch

Bruce Toll, 07/08/2020 11:44 PM

View differences:

resources/themes/default/wt.css
float:right;
}
.Wt-tabs li a, .Wt-tabs li button {
text-decoration: none;
}
.Wt-tabs .itemselected {
background-position:100% -150px;
}
src/Wt/WAnchor.C
void WAnchor::enableAjax()
{
if (linkState_.link.type() == LinkType::InternalPath) {
if ((linkState_.link.type() == LinkType::InternalPath)
|| (linkState_.link.isNull())) {
flags_.set(BIT_LINK_CHANGED);
repaint();
}
......
{
WApplication *app = WApplication::instance();
if (linkState.link.isNull() || widget->isDisabled())
element.removeAttribute("href");
else {
if (linkState.link.isNull() || widget->isDisabled()) {
if (app->environment().javaScript())
element.setAttribute("href", "javascript:void(0);");
else
element.removeAttribute("href");
} else {
std::string url = linkState.link.resolveUrl(app);
/*
    (1-1/1)