From: Aleksander Ɓukasz Date: Mon, 24 Mar 2014 14:09:43 +0000 (+0100) Subject: smartxml: Document.transaction success callback X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/2c3bcb5d2d550bb6546c0f8aa3721f623ca9d6b6?ds=inline smartxml: Document.transaction success callback --- diff --git a/src/smartxml/smartxml.js b/src/smartxml/smartxml.js index 35c5299..c23e06d 100644 --- a/src/smartxml/smartxml.js +++ b/src/smartxml/smartxml.js @@ -597,6 +597,9 @@ $.extend(Document.prototype, Backbone.Events, { return; } this.endTransaction(); + if(params.success) { + params.success(toret); + } return toret; },