summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js
diff options
context:
space:
mode:
authorDavid Monjoie <dmo@odoo.com>2017-03-14 11:01:45 +0100
committerAaron Bohy <aab@odoo.com>2017-04-11 19:44:38 +0200
commit90a9a32a919c9afe3cfe8441f93473758a5c22a9 (patch)
treef72d4557afcb28aab53a2c545d87082ffcb5498b /addons/web/static/src/js
parent868bcc90ba6eb1469ff4b9f211b1343046d1d5b4 (diff)
[ADD] web: add handle widget documentation
Diffstat (limited to 'addons/web/static/src/js')
-rw-r--r--addons/web/static/src/js/fields/basic_fields.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/addons/web/static/src/js/fields/basic_fields.js b/addons/web/static/src/js/fields/basic_fields.js
index 183ce3104db..c78b36f907c 100644
--- a/addons/web/static/src/js/fields/basic_fields.js
+++ b/addons/web/static/src/js/fields/basic_fields.js
@@ -562,8 +562,7 @@ var FieldHtml = InputField.extend({
});
/**
- * displays a handle and allows the resequencing
- * This widget works for integer fields
+ * Displays a handle to modify the sequence.
*/
var HandleWidget = AbstractField.extend({
tagName: 'span',
@@ -578,8 +577,10 @@ var HandleWidget = AbstractField.extend({
//--------------------------------------------------------------------------
/**
- * content is only "set" with pure css...
+ * The display of this widget is handled by css thanks to the class names.
+ *
* @override
+ * @private
*/
_render: function () {
this.$el.empty();