jQuery expects a string for the data, not a DOM element

Change-Id: I16b6f00952a2d9e38d631409b9bf3dd7ada644e7
This commit is contained in:
Trevor Parscal 2012-06-08 16:00:30 -07:00
parent 89b2260bfc
commit a2231cb6ca

View file

@ -383,7 +383,7 @@
'action': 've-parsoid',
'paction': 'save',
'page': mw.config.get( 'wgPageName' ),
'html': html,
'html': $(html).html(),
'token': mw.user.tokens.get('editToken'),
'summary': summary,
'minor': minor,