diff browser_side/richtext.py @ 395:98cd5387d291

browser_side: new microblogs are not using the rich text editor by default: - a button allows to switch from raw to rich text, and vice versa - raw text microblogs are not submitted anymore when the focus is lost, only when <enter> is pressed
author souliane <souliane@mailoo.org>
date Mon, 10 Mar 2014 22:39:26 +0100
parents 564208366dd6
children 487dd238ab88
line wrap: on
line diff
--- a/browser_side/richtext.py	Thu Mar 06 01:06:19 2014 +0100
+++ b/browser_side/richtext.py	Mon Mar 10 22:39:26 2014 +0100
@@ -285,7 +285,7 @@
             self.refresh(edit)  # not when we are asking for a confirmation
         BaseTextEditor.edit(self, edit, abort, sync)  # after the UI has been refreshed
         if (edit and abort):
-            return  # self.avortEdition is called by BaseTextEditor.edit
+            return  # self.abortEdition is called by BaseTextEditor.edit
         self.setWysiwyg(False, init=True)  # after BaseTextEditor (it affects self.getContent)
         if sync:
             return