Commits

Luke Plant committed 3396559

Fixed bug that caused PresentationControl.form_submit to be called inappropriately

Comments (0)

Files changed (1)

semanticeditor/templates/semanticeditor/editorwidget.html

         lang: '{{ language }}',
         skin: 'semanticeditor',
         skinPath: "{{ SE_MEDIA_URL }}javascript/wymeditor/skins/semanticeditor/",
-        updateSelector: 'input[type=submit]',
-        updateEvent: 'click',
+        updateSelector: '#text_form',
+        updateEvent: 'submit',
 		logoHtml: '',
 		toolsItems: [
 			    {{ WYM_TOOLS }}