Fixed missing arg, kept stuff from saving

Change-Id: I6c02b2a009f03b2d9e293591166819743fe7ee24
This commit is contained in:
Trevor Parscal 2012-06-11 18:35:24 -07:00
parent 4cc88b9850
commit 70234d2507

View file

@ -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 ) {