Manage help attribute on tree views
issue6333 review32111002
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
* Manage help attribute on tree views
|
||||
* Manage color attribute on graph view
|
||||
* Add support for size on Many2Many
|
||||
* Allow to show plain text in password field
|
||||
|
||||
+6
-1
@@ -99,6 +99,11 @@
|
||||
label.addClass('editable');
|
||||
}
|
||||
}
|
||||
if (column.attributes.help) {
|
||||
label.data('toggle', 'tooltip');
|
||||
label.attr('title', column.attributes.help);
|
||||
label.tooltip();
|
||||
}
|
||||
if (column.sortable) {
|
||||
var arrow = jQuery('<span/>');
|
||||
label.append(arrow);
|
||||
@@ -153,7 +158,7 @@
|
||||
'add_remove', 'sort', 'context', 'filename',
|
||||
'autocomplete', 'translate', 'create', 'delete',
|
||||
'selection_change_with', 'schema_model', 'required',
|
||||
'readonly'];
|
||||
'readonly', 'help'];
|
||||
for (i in attribute_names) {
|
||||
var attr = attribute_names[i];
|
||||
if ((attr in model.fields[name].description) &&
|
||||
|
||||
Reference in New Issue
Block a user