Commits

Luke Plant committed 700f6ff

Use same updateSelector as for normal WYMEditor widget.

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: '#page_form',
+        updateEvent: 'submit',
         postInit: function(wym) {
             //wym.resizable({handles: "s", maxHeight: 600});
             //construct the button's html