[entity/hooks] fix regression introduced by 4ba11607d84a
on create_entity, attributes weren't cached, but they are since 4ba11607d84a
and this triggered a bug: used values may be transformed by hooks (e.g.
TidyHtmlFields), ending in invalid value in the cache. This is the regression.
Now, set_attributes used to update the attributes cache while suffering from
the very same pb. This is the now fixed old bug.
Transformed attributes are now recorded in a transaction shared variable, and
those are omitted from the client cache.
/* styles for input with suggestions (as for tags and keywords)
*
* :organization: Logilab
* :copyright: 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
* :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
*/
div.sgform div.combobox {
z-index: 300;
margin-left: 3px;
width: 150px;
}
div.sgform div.combobox input.suggestions {
width: 100%;
}
div.sgform select{
width: 155px;
}
div.sgformbuttons {
margin-left: 3px;
}
div.sgformbuttons a {
font-weight: bold;
padding:2px 0px;
}
a.sglink {
color: #000;
font-weight: bold;
display: block;
background: url("puce.png") 98% 5px no-repeat;
margin-left: 3px;
padding: 2px 16px 2px 0px;
}
div.suggholder {
z-index: 300;
position: absolute;
}