mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-26 19:56:49 +00:00
Fixed missing arg, kept stuff from saving
Change-Id: I6c02b2a009f03b2d9e293591166819743fe7ee24
This commit is contained in:
parent
4cc88b9850
commit
70234d2507
|
@ -124,7 +124,7 @@ ve.init.Target.prototype.save = function( dom, options, callback ) {
|
||||||
'dataType': 'json',
|
'dataType': 'json',
|
||||||
'type': 'POST',
|
'type': 'POST',
|
||||||
'error': callback,
|
'error': callback,
|
||||||
'success': ve.proxy( function() {
|
'success': ve.proxy( function( data ) {
|
||||||
this.isDomSaving = false;
|
this.isDomSaving = false;
|
||||||
var response = data['ve-parsoid'];
|
var response = data['ve-parsoid'];
|
||||||
if ( !response ) {
|
if ( !response ) {
|
||||||
|
|
Loading…
Reference in a new issue