projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28b3d3e
)
[IMP] cleditor: removed source link. Updated get_value to be more consistent.
author
Thibault Delavallée
<tde@openerp.com>
Fri, 20 Jul 2012 11:50:46 +0000
(13:50 +0200)
committer
Thibault Delavallée
<tde@openerp.com>
Fri, 20 Jul 2012 11:50:46 +0000
(13:50 +0200)
bzr revid: tde@openerp.com-
20120720115046
-fp0do72zy3cs2p2w
addons/web/static/src/js/view_form.js
patch
|
blob
|
history
diff --git
a/addons/web/static/src/js/view_form.js
b/addons/web/static/src/js/view_form.js
index
29ba906
..
b65d95e
100644
(file)
--- a/
addons/web/static/src/js/view_form.js
+++ b/
addons/web/static/src/js/view_form.js
@@
-2310,8
+2310,7
@@
instance.web.form.FieldTextHtml = instance.web.form.FieldText.extend({
controls: // controls to add to the toolbar
"bold italic underline strikethrough | size " +
"| removeformat | bullets numbering | outdent " +
- "indent | " +
- "link unlink | source",
+ "indent | link unlink",
sizes: // sizes in the font size popup
"1,2,3,4,5,6,7",
bodyStyle: // style to assign to document body contained within the editor
@@
-2335,7
+2334,8
@@
instance.web.form.FieldTextHtml = instance.web.form.FieldText.extend({
},
get_value: function() {
- return this.$cleditor.$area.val();
+ this.$cleditor.updateTextArea();
+ return this.$textarea.val();
},
});