diff MoinMoin/PageGraphicalEditor.py @ 542:2f495a1be4c7

confirm leaving JS added to gui editor, TODO: add flgChange update JS code imported from: moin--main--1.5--patch-546
author Thomas Waldmann <tw@waldmann-edv.de>
date Sun, 09 Apr 2006 12:31:35 +0000
parents 4be11eec9c4f
children 3b08d9413589
line wrap: on
line diff
--- a/MoinMoin/PageGraphicalEditor.py	Sun Apr 09 12:05:08 2006 +0000
+++ b/MoinMoin/PageGraphicalEditor.py	Sun Apr 09 12:31:35 2006 +0000
@@ -242,6 +242,8 @@
 <input type="hidden" name="editor" value="gui">
 ''' % (save_button_text, _('Preview'), _('Text mode'), button_spellcheck, cancel_button_text,))
 
+        self.sendconfirmleaving() # TODO update state of flgChange to make this work, see PageEditor
+
         # Add textarea with page text
 
         # TODO: currently self.language is None at this point. We have